Mercurial > public > sg101
diff user_photos/urls.py @ 722:71d17d267e27
Added an ajax form to upload photos & update post box w/image code.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sat, 21 Sep 2013 17:00:49 -0500 |
parents | 13a1713d05b5 |
children | 4f265f61874b |
line wrap: on
line diff
--- a/user_photos/urls.py Thu Sep 19 20:00:10 2013 -0500 +++ b/user_photos/urls.py Sat Sep 21 17:00:49 2013 -0500 @@ -8,6 +8,9 @@ urlpatterns = patterns('', url(r'^upload/$', 'user_photos.views.upload', name='user_photos-upload'), + url(r'^upload-ajax/$', + 'user_photos.views.upload_ajax', + name='user_photos-upload_ajax'), url(r'^photo/(?P<pk>\d+)/$', DetailView.as_view(model=Photo), name='user_photos-detail'),