I'm not familiar with how ForeignKey fields interact with the database,
but I wondered if you could have an instance of the Icon model that
represented no icon (-1). Otherwise, I think you might need to override
the model methods (probably the save() method), but that's just a guess.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to