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.
 
 
 
 
 
 

12 regels
338 B

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