spug/spug_api/apps/account/urls.py

15 lines
412 B
Python
Raw Normal View History

2020-01-15 12:48:22 +00:00
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
# Copyright: (c) <spug.dev@gmail.com>
# Released under the MIT License.
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()),
2020-01-16 10:36:56 +00:00
url(r'^self/$', SelfView.as_view()),
2019-11-08 08:53:16 +00:00
]