Below is the method where its been used:
def get_form_with_form_class(self, form_class=None):
if form_class is None:
form_class = self.get_form_class()
return get_form(self, form_class=form_class)
from the documentation, "form_class" argument inside get_form can be
removed.
--
Ticket URL: <https://code.djangoproject.com/ticket/25273>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* needs_better_patch: => 0
* needs_tests: => 0
* needs_docs: => 0
Old description:
> This error gets thrown inside class "FormMixinBase" in
> "django/views/generic/edit.py" file.
>
> Below is the method where its been used:
>
> def get_form_with_form_class(self, form_class=None):
> if form_class is None:
> form_class = self.get_form_class()
> return get_form(self, form_class=form_class)
>
> from the documentation, "form_class" argument inside get_form can be
> removed.
New description:
This error gets thrown inside class "FormMixinBase" in
"django/views/generic/edit.py" file.
Below is the method where its been used:
{{{
def get_form_with_form_class(self, form_class=None):
if form_class is None:
form_class = self.get_form_class()
return get_form(self, form_class=form_class)
}}}
from the documentation, "form_class" argument inside get_form can be
removed.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/25273#comment:1>
* status: new => closed
* resolution: => needsinfo
Comment:
Could you please provide the full traceback of the error, and some code
that can be used to reproduce the error?
--
Ticket URL: <https://code.djangoproject.com/ticket/25273#comment:2>