#25831: django.views.generic.edit.FormMixinBase : get_form_with_form_class
wrapping
preventing custom method profiles for get_form()
-------------------------------+--------------------------------------
Reporter: LeGast00n | Owner: nobody
Type: Bug | Status: new
Component: Generic views | Version: 1.8
Severity: Normal | Resolution:
Keywords: forms views | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by charettes):
The suggested implementation makes sense to me except the `*arg` and
`**kwargs` passing to `get_form_class` but just like Tim I don't
understand why you can't simply change you method signature to accept at
least one `form_class=None` arg.
If you did the method wouldn't be replaced by the shim in the first place.
--
Ticket URL: <https://code.djangoproject.com/ticket/25831#comment:3>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.bb87e8a1b4bff871c9feaa1ea5e521ff%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.