|
- from django.conf.urls import url, include
-
- from users.views import login_user
- from . import views
-
- urlpatterns = [
- url(r'', include(views.drf_router.urls)),
- url(r'^login/$', login_user, name='login'),
- url(r'^logout/$', views.logout_user, name='logout'),
- ]
|