django-stubs
                                
                                
                                
                                    django-stubs copied to clipboard
                            
                            
                            
                        Incorrect returntype of FormMixin.get_form
Bug report
What's wrong
FormMixin's get_form says it returns in instance of BaseForm
How is that should be
It should return either an instance of the class given to the method or the class returned by get_form_class
System information
- OS:
 pythonversion: 3.9djangoversion: 3.2.9mypyversion: -django-stubsversion: 1.10.1django-stubs-extversion: 0.4.0