Skip to content

Commit

Permalink
Space and comments to organize URL table
Browse files Browse the repository at this point in the history
  • Loading branch information
idleyoungman committed Jul 19, 2013
1 parent a601ea7 commit 122f8ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,21 @@
# Uncomment the next line to enable the admin:
# url(r'^admin/', include(admin.site.urls)),

# Browsing
(r'^$', main_page),
(r'^user/(\w+)/$', user_page),

# Session Management
(r'^login/$', 'django.contrib.auth.views.login'),
(r'^logout/$', logout_page),
(r'^register/$', register_page),
(r'^register/success/$',
TemplateView.as_view(template_name='registration/register_success.html')),

# Account Management
(r'^save/$', bookmark_save_page),

# Site media
(r'^site_media/(?P<path>.*)$', 'django.views.static.serve',
{'document_root': site_media}),

Expand Down

0 comments on commit 122f8ae

Please sign in to comment.