On Sun, 2009-02-22 at 23:18 -0800, rajeesh wrote:
> Sorry for not including the code before. I've dpasted it now:
> http://dpaste.com/123850/ .
> 

I get "Item not found" when I go to that entry.

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

That sounds like the normal use-case for Meta.exclude in the ModelForm.
Can you just use that?

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

Reply via email to