Mercurial > public > sg101
comparison user_photos/urls.py @ 710:13a1713d05b5
Work in progress on adding ability to delete user photos.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 17 Sep 2013 17:54:21 -0500 |
parents | 809d27b385f2 |
children | 71d17d267e27 |
comparison
equal
deleted
inserted
replaced
708:a6c664e04649 | 710:13a1713d05b5 |
---|---|
12 DetailView.as_view(model=Photo), | 12 DetailView.as_view(model=Photo), |
13 name='user_photos-detail'), | 13 name='user_photos-detail'), |
14 url(r'^gallery/(?P<username>[\w.@+-]{1,30})/$', | 14 url(r'^gallery/(?P<username>[\w.@+-]{1,30})/$', |
15 GalleryView.as_view(), | 15 GalleryView.as_view(), |
16 name='user_photos-gallery'), | 16 name='user_photos-gallery'), |
17 url(r'^delete/$', 'user_photos.views.delete', name='user_photos-delete'), | |
17 ) | 18 ) |