diff bio/forms.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 5be850a66dfc
children 164a39d985ef
line wrap: on
line diff
--- a/bio/forms.py	Sun Sep 13 14:51:33 2015 -0500
+++ b/bio/forms.py	Tue Sep 22 20:23:50 2015 -0500
@@ -15,7 +15,7 @@
 
 from bio.models import UserProfile
 from core.widgets import AutoCompleteUserInput
-from core.image import parse_image, downscale_image_square
+from core.images.utils import parse_image, downscale_image_square
 
 
 class EditUserForm(forms.ModelForm):