public
Description:
Homepage: http://django-photo-gallery.googlecode.com/
Clone URL: git://github.com/myles/django-photo-gallery.git
Click here to lend your support to: django-photo-gallery and make a donation at www.pledgie.com !
myles (author)
Mon Aug 11 21:00:38 -0700 2008
commit  ec5d0c80d275cb8282e1ce627dd1e8508332e755
tree    0bed9e5d57b395b8be76d53a504f01571d8d6056
parent  313fd821062f704ef95080390bb7e65e4efcd066 parent  5401dce0670b1e73e61a2355fa36f6d13c2e8bbb
100644 40 lines (36 sloc) 1.15 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
"""
Copyright (c) 2008, Myles Braithwaite
All rights reserved.
This software is provided without warranty under the terms of the BSD
license included in photos/LICENSE.markdown and may be redistributed only under
the conditions described in the aforementioned license. This license is also
available online at http://code.google.com/p/django-photo-gallery/wiki/License
Author: Myles Braithwaite
"""
 
from django.conf.urls.defaults import *
 
urlpatterns = patterns('',
url(r'^comments/$',
view = 'photos.views.comments.list',
name = 'photo_gallery_comment',
),
url(r'^galleries/$',
view = 'photos.views.gallery.archive',
name = 'photo_gallery_archive',
),
url(r'^(?P<gallery_slug>[-\w]+)/gallery/(?P<photo_slug>[-\w]+)/$',
view = 'photos.views.photo.detail',
name = 'photo_gallery_photo_detail',
),
url(r'^(?P<gallery_slug>[-\w]+)/gallery/$',
view = 'photos.views.gallery.detail',
name = 'photo_gallery_detail',
),
url(r'^(?P<gallery_slug>[-\w]+)/$',
view = 'photos.views.gallery.title',
name = 'photo_gallery_title',
),
url(r'^$',
view = 'photos.views.gallery.index',
name = 'photo_gallery_index',
),
)