Thanks Mike,

I do not know if this will work.
I want to change the field in the template as I read each row.
I do this in PHP rather easy, but am confused on how to do this using 
django.


On Wednesday, January 23, 2013 6:03:28 PM UTC-5, Mike Dewhirst wrote:
>
> On 24/01/2013 2:36am, frocco wrote: 
> > Hello, 
> > 
> > In my view, I am displaying rows of data that have a choice field in a 
> form. 
> > one form for each row 
> > 
> > I want to change the choice this before printing. 
> > 
> > one row can have 1 to 5 choices 
> > another row can have 1 to 10 choices depending on values in each row. 
>
> I'm likely to want something similar soon so I googled "how do I 
> dynamically modify a django choice field" and got at least a page of 
> results. Here is one which I looked at and found interesting. It may 
> suit your needs ... 
>
> http://ilian.i-n-i.org/django-forms-choicefield-with-dynamic-values/ 
>
> Good luck 
>
> Mike 
>
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> > Groups "Django users" group. 
> > To view this discussion on the web visit 
> > https://groups.google.com/d/msg/django-users/-/BSrfbUYb_v8J. 
> > To post to this group, send email to 
> > [email protected]<javascript:>. 
>
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:>. 
> > For more options, visit this group at 
> > http://groups.google.com/group/django-users?hl=en. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/rP_BPdN3JHgJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to