Thursday, January 29, 2015

upload_to for ImageField changes name of file being uploaded

I posted a question on stackoverflow regarding my issue:

http://stackoverflow.com/questions/28205560/upload-to-value-changes-photo-name-attribute

Basically upload_to value will change my ImageField.name to the upload_to value

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/318a41da-b0ed-4c19-ac66-4f3244d689a8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment