Hi James, > I have hit a wall with newforms-admin, which seems obvious but I can't > find mention of a solution anywhere. > > As I understand it, part of core=True was defining when the related > object was created or deleted. > > eg: "The related model being edited inline must specify one or more > "core" fields using core=True. If the core fields are filled in, the > related model is added. If the core fields are empty, the related > model is removed." > > As core=True has been removed form newforms-admin how can I replicate > this behaviour?
Inline objects now have a 'delete' checkbox which is used for removing objects. I believe that the usual admin rules apply for creating models i.e. all fields without blank=True will be required, otherwise you'll get validation errors. Replicating the actual behaviour (i.e. blanking fields to delete objects) would require a bit more hacking. Hope that helps, Felix --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---