Sorry for not including the code before. I've dpasted it now:
http://dpaste.com/123850/ .

Problem can be summarized as this:  I've a model M with certain fields
and some foreign keys. I don't want the user to add/edit the FK
directly from M's ModelForm. Instead we'll do that in code from
certain values provided by the user. For that we've a custom ModelForm
and that custom_form will be attached to the M's ModelAdmin,
overriding get_form() and save_model(). I want to know whether my
approach is reliable and easiest. If yes, what's the best way to
populate edit_form fields?(Not just initial values).


--~--~---------~--~----~------------~-------~--~----~
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