urls.py
changeset 12 243a7e90f3c3
parent 8 f0b5ff862c6d
child 15 8de52278da5d
equal deleted inserted replaced
11:2b21f6434ce2 12:243a7e90f3c3
    16     # to INSTALLED_APPS to enable admin documentation:
    16     # to INSTALLED_APPS to enable admin documentation:
    17     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    17     # (r'^admin/doc/', include('django.contrib.admindocs.urls')),
    18 
    18 
    19     # Uncomment the next line to enable the admin:
    19     # Uncomment the next line to enable the admin:
    20     # (r'^admin/', include(admin.site.urls)),
    20     # (r'^admin/', include(admin.site.urls)),
    21     url (r'^$', direct_to_template, {"template": "homepage.html"}, name="home"),
    21     url (r'^$', 'conference.views.home'),
    22     (r'^accounts/', include('registration.urls')),
    22     (r'^accounts/', include('registration.urls')),
    23     (r'^register/','conference.views.register'),
    23     (r'^register/','conference.views.register'),
    24     (r'^logout/','conference.views.logout'),
    24     (r'^logout/','conference.views.logout'),
    25     (r'^regthank/(?P<id>\d+)/$', 'conference.views.regthank'),
    25     (r'^regthank/(?P<id>\d+)/$', 'conference.views.regthank'),
    26     (r'^site-content/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),
    26     (r'^site-content/(?P<path>.*)$', 'django.views.static.serve', {'document_root': settings.MEDIA_ROOT}),