Is there a way to show or hide a model field in a admin site "change" page
depending upon the value of request.user.is_superuser ?
I was thinking about filling ModelAdmin.field or .fieldset depending on the
value of request.user, but how to read the value of request in ?
Also .readonly_fields when used in conjunction with a Foreign Key show the
id of the object, not following the "link". Is there a way to change this?
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-us...@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.