Dear all,

Is it possible to select the template to be applied to an admin form
based on the logged user?
In particular, I've two cases:

- if super user, a certain template should be used
- if not a super user, but the owner of the data, then another
template should be used
- if not a super user, but the owner of the data, then a third option
template should be used

I understood that probably the get_form is the right place where to
work, but not sure if this can be done.

Thanks for your support, Sergio
--~--~---------~--~----~------------~-------~--~----~
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