Is there anyway to modify model field attributes on run time.. What
I'm trying to do is to build some logic that will decide whether a
model that is related to other model should be edited or not inline in
the admin.

Basically: "client = models.ForeignKey(Client, unique=True,
edit_inline = True, core=True)" should be changed to client =
models.ForeignKey(Client, unique=True, edit_inline = False) on run
time.


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to