~vcs-imports/django-photo-gallery/trunk

« back to all changes in this revision

Viewing changes to urls.py

  • Committer: Myles.Braithwaite
  • Date: 2008-08-11 19:57:34 UTC
  • Revision ID: vcs-imports@canonical.com-20080811195734-61z2n71oiyyeo8jq
Added the comments list.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
from django.conf.urls.defaults import *
14
14
 
15
15
urlpatterns = patterns('',
16
 
        # url(r'^comments/$',
17
 
        #       view    = 'photos.views.gallery_comments',
18
 
        #       name    = 'photo_gallery_comment',
19
 
        # ),
 
16
        url(r'^comments/$',
 
17
                view    = 'photos.views.comments.list',
 
18
                name    = 'photo_gallery_comment',
 
19
        ),
20
20
        url(r'^galleries/$',
21
21
                view    = 'photos.views.gallery.archive',
22
22
                name    = 'photo_gallery_archive',