#7790: New validator for ModelAdmin classes should use explicitly declared forms for validation if appropriate -----------------------------------------------+---------------------------- Reporter: Rozza | Owner: nobody Status: new | Milestone: 1.0 alpha Component: Admin interface | Version: newforms-admin Keywords: BLOCKER newforms admin validation | Stage: Unreviewed Has_patch: 1 | -----------------------------------------------+---------------------------- Ticket [http://code.djangoproject.com/ticket/5374 #5374] Introduced automatic modeladmin validation if you have settings.DEBUG set to True - see [http://code.djangoproject.com/changeset/7929 r7929]
However, this change doesn't handle customized forms for admin because it couples admin form fields 1-1 to the model. The validator should check against any explicitly declared forms to ensure that the form is valid. Therefore allowing greater flexibility by allowing some decoupling from the model so that admin forms are customizable Patch including tests attached -- Ticket URL: <http://code.djangoproject.com/ticket/7790> 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 -~----------~----~----~----~------~----~------~--~---
