Mercurial > public > sg101
comparison user_photos/urls.py @ 1096:d9cd3180c12c
More GCalendar V3 conversion in progress.
Built a brand new post editor. It is hardcoded into GCalendar
right now. We will make it more general in the future.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Tue, 14 Jun 2016 21:16:09 -0500 |
parents | 5ba2508939f7 |
children | 364f8ec48612 |
comparison
equal
deleted
inserted
replaced
1095:74d7e56a9cfb | 1096:d9cd3180c12c |
---|---|
9 urlpatterns = [ | 9 urlpatterns = [ |
10 url(r'^upload/$', user_photos.views.upload, name='user_photos-upload'), | 10 url(r'^upload/$', user_photos.views.upload, name='user_photos-upload'), |
11 url(r'^upload-ajax/$', | 11 url(r'^upload-ajax/$', |
12 user_photos.views.upload_ajax, | 12 user_photos.views.upload_ajax, |
13 name='user_photos-upload_ajax'), | 13 name='user_photos-upload_ajax'), |
14 url(r'^upload-ajax-v3/$', | |
15 user_photos.views.upload_ajax_v3, | |
16 name='user_photos-upload_ajax_v3'), | |
14 url(r'^photo/(?P<pk>\d+)/$', | 17 url(r'^photo/(?P<pk>\d+)/$', |
15 DetailView.as_view(model=Photo), | 18 DetailView.as_view(model=Photo), |
16 name='user_photos-detail'), | 19 name='user_photos-detail'), |
17 url(r'^gallery/(?P<username>[\w.@+-]{1,30})/$', | 20 url(r'^gallery/(?P<username>[\w.@+-]{1,30})/$', |
18 user_photos.views.GalleryView.as_view(), | 21 user_photos.views.GalleryView.as_view(), |