#25273: get_form() got an unexpected keyword argument 'form_class'
-------------------------------+--------------------
     Reporter:  robintiwari    |      Owner:  nobody
         Type:  Uncategorized  |     Status:  new
    Component:  Uncategorized  |    Version:  1.8
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 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>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.e769dd9857d7e7e30aa761aeff91a8c6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to