On Jan 30, 2008 2:22 PM, Carl Karsten <[EMAIL PROTECTED]> wrote:
> title = models.CharField("Title", core=True, max_length=80, blank=True,
> null=True)
> surname = models.CharField("Surname", max_length=65, core=True,
> blank=True,
> null=True)
There's your culprit.
Whenever you try to save a UserProfile that has NULL values in both of
these fields, the admin will not see that as "insert a NULL", it will
see it as "all the core fields are blank, delete the object."
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---