diff user_photos/urls.py @ 971:4f265f61874b

Hotlink image form is functioning. The user can now submit a URL via a form and the URL will be downloaded and uploaded to a S3 bucket if it is an image. Tests to follow.
author Brian Neal <bgneal@gmail.com>
date Tue, 22 Sep 2015 20:23:50 -0500
parents 71d17d267e27
children 5ba2508939f7
line wrap: on
line diff
--- a/user_photos/urls.py	Sun Sep 13 14:51:33 2015 -0500
+++ b/user_photos/urls.py	Tue Sep 22 20:23:50 2015 -0500
@@ -18,4 +18,7 @@
         GalleryView.as_view(),
         name='user_photos-gallery'),
     url(r'^delete/$', 'user_photos.views.delete', name='user_photos-delete'),
+    url(r'^hotlink/$',
+        'user_photos.views.hotlink_image',
+        name='user_photos-hotlink'),
 )