The problem with this issue finally had nothing to do with the forms
themselves, but the __unicode__ method of the Image-model.
Older implementations of ImageField had a __unicode__ method of their own
so
def __unicode__(self):
return self.file
worked fine. Now this needs to be
def __unicode__(self):
return self.file.name
to achieve the same result.
ramin
--
Ramin Miraftabi http://fierymill.net/ramin/
blog @ http://randomfire.fierymill.net/
Kolme flättiä ja kultsu: http://fierymill.net/loj/
Three flatcoats and a golden: http://fierymill.net/loj/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---