urls.py 359 B

1234567891011
  1. from django.conf.urls import patterns, url
  2. from hackathon import views
  3. urlpatterns = patterns('',
  4. url(r'^$', views.index, name='index'),
  5. url(r'^test/$', views.test, name='test'),
  6. url(r'^register/$', views.register, name='register'),
  7. url(r'^login/$', views.user_login, name='login'),
  8. url(r'^logout/$', views.user_logout, name='logout'),
  9. )