I've defined a custom ModelForm for one of my models. Many of the
custom form fields differ from the model fields. I've made the
'save_model' method to calculate required model_field_values from the
given form_field_values. Now after adding one instance, how can I do
the reverse? I mean, how to populate form_fields by values calculated
from model_fields? Is kwargs passed to 'get_form' is the way? If yes,
how can it be done?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to