ModelMultipleChoiceField and reverse()
Posted
by celopes
on Stack Overflow
See other posts from Stack Overflow
or by celopes
Published on 2010-05-20T23:39:03Z
Indexed on
2010/05/21
0:10 UTC
Read the original article
Hit count: 622
django
|django-urls
I have a form containing a ModelMultipleChoiceField.
Is it possible to come up with a url mapping that will capture a varying number of parameters from said ModelMultipleChoiceField?
I find myself doing a reverse() call in the view passing the arguments of the form submission and realized that I don't know how to represent, in the urlconf, the multiple values from the SELECT tag rendered for the ModelMultipleChoiceField...
© Stack Overflow or respective owner