OK, I think my data is going away because of my choice of blank and core.

Ideally, I don't care if the record stays around even if it is 100% blank. 
either way, this is the only case I want it deleted.  If there is any data in 
it, I do not want to loose it.  but the way I have it currently the norm is to 
loose data.

I do need to allow blanks in all the fields.

So I figured if I set core=True, blank=True for all of them, it would do what I 
want.

Apparently those 2 settings do not get along.  Seems it causes SET myField="" 
to 
be ignored.

here is my current model:

class UserProfile(models.Model):
     user = models.ForeignKey(User,
       unique=True,
       edit_inline=models.STACKED,
       num_in_admin=1,min_num_in_admin=1, max_num_in_admin=1,
       num_extra_on_change=0 )

     title = models.CharField("Title", max_length=80, core=True, blank=True)
     surname = models.CharField("Surname", max_length=65, core=True, blank=True 
)

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

Reply via email to