#18610: create internal API for model field validation ------------------------------+-------------------- Reporter: ptone | Owner: nobody Type: New feature | Status: new Component: Core (Other) | Version: master Severity: Normal | Keywords: Triage Stage: Unreviewed | Has patch: 0 Easy pickings: 0 | UI/UX: 0 ------------------------------+-------------------- Not to be confused with model instance validation.
Currently a model's definition is validated by admin script commands through a function located in django/core/management/validation.py This utility checks the sanity and integrity of various field definitions on the model, and outputs errors to stdout for display by the command. There are useful reasons to have a programatic API to this model definition validation - including during app-loading There may be other 3rd party uses, but the primary use case and inspiration for this ticket, is to allow this validation to occur at app loading time, rather than syncdb time -- Ticket URL: <https://code.djangoproject.com/ticket/18610> Django <https://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 django-updates@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.