Hi,
well I have a solution, but it's not ideal.
It involves extending the BaseFormSet class, and passing an extra
parameter into the subclass's __init__ method, and saving this value
as an attribute to self. The subclass also had to override the
_construct_form method, copying all of the code o
Hi,
I have a form which has a ModelChoiceField, whose queryset has to be
set dynamically (when the form is instantiated).
I have read an earlier posting on how to do this:
http://groups.google.com/group/django-users/browse_thread/thread/847ec83e26dd7846/f0b15945a01eafe2?lnk=gst&q=queryset+modelcho
2 matches
Mail list logo