Django

Code

Ticket #8030 (closed: fixed)

Opened 4 months ago

Last modified 4 months ago

BaseModelForm does not use super()

Reported by: glenjamin@gmail.com Assigned to: nobody
Milestone: Component: Uncategorized
Version: SVN Keywords:
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation:
Needs tests: Patch needs improvement:

Description

As seen in:

http://code.djangoproject.com/browser/django/trunk/django/forms/models.py#L262

This somewhat restricts what can be done with multiple inheritance on form objects, which imo would be the most effective way of adding custom form display methods and such to forms.

This can be worked around by simply ensuring that the mixin class comes before the form classes, however there isn't really any reason that this cannot be fixed.

Attachments

Change History

08/01/08 09:44:38 changed by lukeplant

  • status changed from new to closed.
  • resolution set to fixed.

(In [8169]) Fixed #8030 - use super() in BaseModelForm?


Add/Change #8030 (BaseModelForm does not use super())




Change Properties
Action