#9376: Support initial values for clean() not just for FileField ---------------------------------+------------------------------------------ Reporter: aszlig | Owner: nobody Status: closed | Milestone: Component: Forms | Version: SVN Resolution: wontfix | Keywords: form fields Stage: Unreviewed | Has_patch: 1 Needs_docs: 0 | Needs_tests: 0 Needs_better_patch: 0 | ---------------------------------+------------------------------------------ Changes (by mtredinnick):
* status: reopened => closed * resolution: => wontfix Comment: This is the sort of specialised use-case that is best done in the custom form field's initialisation and/or cleaning methods. You have complete control over what is displayed and stored in the field class. Just subclass `__init__` appropriately; this doesn't need any modifications on the Field class. -- Ticket URL: <http://code.djangoproject.com/ticket/9376#comment:4> Django <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 django-updates@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-updates?hl=en -~----------~----~----~----~------~----~------~--~---