James Bennett wrote: > 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." >
Nope. There is data being displayed in those fields when I edit, and I type data into them when I add a new one. I just typed "abc" into title, hit save, hit history: "No fields changed." I am running devserver - where I can "print foo" to see when it has decided it needs to delete? Carl K --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---