Hi
I am trying to achieve the following effect:
A ModelForm containing list of choices and input to possibly add
another
element to the list is presented on page.
If user will not choose any item from list and will type something
into
new_item field, then:
- if new_item is present on the list,
t is that what is passed to limit_choices_to
might be a callable,
but it doesn't receive instance as parameter (and i would like it
did).
--
Maciej "Fiedzia" Dziardziel
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
at, so the question is:
is it a hack or oficially suported syntax
and where should i look for documentation
(or who ask to mention it there)
Maciej "Fiedzia" Dziardziel
Bye
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
3 matches
Mail list logo