spug/spug_api/apps/account/urls.py

11 lines
226 B
Python
Raw Normal View History

2019-11-08 08:53:16 +00:00
from django.conf.urls import url
from apps.account.views import *
urlpatterns = [
url(r'^login/', login),
url(r'^logout/', logout),
url(r'^user/$', UserView.as_view()),
2019-12-29 11:23:37 +00:00
url(r'^role/$', RoleView.as_view()),
2019-11-08 08:53:16 +00:00
]