List Info

Thread: Re: Limiting choices in a generated form




Re: Limiting choices in a generated form
country flaguser name
United States
2007-02-28 12:06:07
Choices needs to be a sequence of (id, value) tuples.  List
comprehensions are probably the most convenient way to
do this: http://www
.djangosnippets.org/snippets/26/

--
Jeff Bauer
Rubicon, Inc.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Limiting choices in a generated form
country flaguser name
United States
2007-02-28 16:37:58
Thanks for pointing me to right direction. This snippet
solved the
issue...


omat

On 28 Žubat, 20:06, "Rubic" <rubi...gmail.com> wrote:
> Choices needs to be a sequence of (id, value) tuples. 
List
> comprehensions are probably the most convenient way to
> do this:http://www
.djangosnippets.org/snippets/26/
>
> --
> Jeff Bauer
> Rubicon, Inc.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Django users" group.
To post to this group, send email to django-usersgooglegroups.com
To unsubscribe from this group, send email to
django-users-unsubscribegooglegroups.com
For more options, visit this group at htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---


[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )