2008/6/22, Karen Tracey <[EMAIL PROTECTED]>: > If all fields marked core are blanked, then the object is deleted.
If you have a foreignkey with core=True, among others, it deletes also if another core field is not blank. I've tried also with my user: - - - - - 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) nomeditta = models.CharField("Nome Ditta", max_length=100, core=True) - - - - - and now it works. -- Alessandro Ronchi Skype: aronchi http://www.alessandroronchi.net SOASI Soc.Coop. - www.soasi.com Sviluppo Software e Sistemi Open Source Sede: Via Poggiali 2/bis, 47100 Forlì (FC) Tel.: +39 0543 798985 - Fax: +39 0543 579928 Rispetta l'ambiente: se non ti è necessario, non stampare questa mail --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---