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.
 
 
 
 
 
 

13 line
288 B

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