#5878: Customize is_empty exceptions in a formset or inline formset ---------------------------+------------------------------------------------ Reporter: brosner | Owner: nobody Status: new | Component: django.newforms Version: newforms-admin | Keywords: Stage: Unreviewed | Has_patch: 0 ---------------------------+------------------------------------------------ With the removal of ```core``` (thank goodness) the ```FormSet``` class relies on the ```Form``` object to give back a boolean value for an ```is_empty``` method call. ```is_empty``` accepts an argument ```exceptions``` to prevent specific fields from being considered not empty. The problem here is whenever I assign a default value to a field that gets rendered in an inline formset it will always return that it is not empty and try to save it. I am not sure where this customization can fall in, but it seems pretty critical that it needs to be somewhere accessible to prevent this minor headache ;)
-- Ticket URL: <http://code.djangoproject.com/ticket/5878> Django Code <http://code.djangoproject.com/> The web framework for perfectionists with deadlines --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---
