Hi,
I have a Field class for attachments and I would like to rename the
attachment after upload. This class inherits from models.ImageField.

The problem is that in field method save_file() and _save() all values
pointing to ID are None.
new_object['id'] is None and instance._get_pk_val() is None

In which method is the ID available?

Thanks in advance,
Frank

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to