i mean
i have a model m, and m has a field fd.
so i can wrote like
   xx = m.fd
   m.fd = xxx

but, when i got a string  s = "fd"

how could i do the same as above?

i've tried m.__dict__[s], but it seems read only

thanks for any help...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
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