You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
268 B

  1. from django.conf.urls import url, include
  2. from users.views import login_user
  3. from . import views
  4. urlpatterns = [
  5. url(r'', include(views.drf_router.urls)),
  6. url(r'^login/$', login_user, name='login'),
  7. url(r'^logout/$', views.logout_user, name='logout'),
  8. ]