Hi,
I have a simple profile model which includes the option to upload a
File (FileField) and a photograph (ImageField). These two fields show
somewhat undesirable behavior:

(1) Let's say I create a profile and upload a photo through the admin.
(2) My member view page shows my photo and other profile details.
(3) Then let's say I go back to change something in my address field.
The filefield correctly shows the "current file" which I uploaded in
(1). I make no other changes and hit Save
(4) I reload my member view page. Now the link to my photograph is
broken.. (photo doesn't exist)
(5) I go back into admin and find there's no photograph associated
with my profile.

Why does it do this? Is there no way to fix this? Am I doing something
wrong? Do I need to upload a file to the database and have it only
store a FilePathField? Is there a workaround?

Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to