MrLoick / app-engine-patch

Automatically exported from code.google.com/p/app-engine-patch
0 stars 0 forks source link

queryset problem with model formsets #220

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create model formset class using modelformset_factory(MyModel)
2. Create instance of model formset
3.

What is the expected output? What do you see instead?
Should get a formset, instead I got an error that MyModel does not have 
get_query_set method

What version of the product are you using? On what operating system?
OS: Win Vista and Linux (Ubuntu 9.04)

Please provide any additional information below.
queryset can be passed as keyword argument to the constructor of model 
formset and it works for some cases.

Original issue reported on code.google.com by adamkali...@gmail.com on 21 Sep 2009 at 1:00