#14740: CZ Localflavor clean() incorrectly calls parent __init__ ----------------------------------------+----------------------------------- Reporter: anonymous | Owner: nobody Status: new | Milestone: Component: django.contrib.localflavor | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 1 | ----------------------------------------+----------------------------------- In cz/forms.py, see [http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/cz/forms.py#L54 L54] and [http://code.djangoproject.com/browser/django/trunk/django/contrib/localflavor/cz/forms.py#L111 L111]. At the beginning of `clean()`, the parent's `__init__` is called instead of `clean()`.
Patch attached. Discovered while converting doctests to unittests. -- Ticket URL: <http://code.djangoproject.com/ticket/14740> 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-upda...@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.