mirror of https://github.com/openspug/spug
17 lines
506 B
Python
17 lines
506 B
Python
# Copyright: (c) OpenSpug Organization. https://github.com/openspug/spug
|
|
# Copyright: (c) <spug.dev@gmail.com>
|
|
# Released under the AGPL-3.0 License.
|
|
from django.conf.urls import url
|
|
|
|
from apps.account.views import *
|
|
from apps.account.history import *
|
|
|
|
urlpatterns = [
|
|
url(r'^login/$', login),
|
|
url(r'^logout/$', logout),
|
|
url(r'^user/$', UserView.as_view()),
|
|
url(r'^role/$', RoleView.as_view()),
|
|
url(r'^self/$', SelfView.as_view()),
|
|
url(r'^login/history/$', HistoryView.as_view())
|
|
]
|