On Thu, 2009-01-22 at 04:58 -0800, Lee wrote: > Thanks a lot. > > I'd like to pass the dynamic value to the choices, like what you said > in the last situation. > > Could you please give me some more instructions, I'm new in python and > django.
I've given you a code fragment already to show how to do it in __init__. In the first reply I gave in this thread, I gave a link to another thread that also had a similar code fragment. So could you at least read those and ask specific questions about what you don't understand. I'm not going to write your code for you. That won't help you learn anything. I have taken the time to show similar code (twice now!), so without more details as to what is confusing you, I doubt I can help any further. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---