spug/spug_api/apps/account/urls.py

10 lines
185 B
Python

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()),
]