On Feb 1, 2008 7:52 PM, NickJ <[EMAIL PROTECTED]> wrote: > > Thanks for the response. So what code do I need to add so that, when > creating a new object, the admin doesnt try to create related fields > that are left entirely blank? I still see core=True as an option, but > it no longer does anything, and I still dont understand what the > solution is or will be. >
You shouldn't have to do anything. Inline-edited items that are empty should be ignored during add processing. There was a problem at one point where entirely blank items were being flagged as validation errors, but that has been fixed. I'm don't recall ever seeing problems with entirely empty items being constructed. Could you give details of your models and what behavior you are seeing (I'm not sure if you are getting validation errors for blank items or spurious all-blank items added to the database?). Maybe check trac for reports of problems like what you are seeing. I haven't been able to keep up to date for a few weeks, but had been running on newforms-admin without running into what it sounds like you are reporting, so it's either something specific to your models or perhaps something that has changed recently. Karen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---