hi
I couldn't reply to this post (http://www.mail-archive.com/django-
[email protected]/msg108414.html) so I have to write a new one,
sorry.
is there a solution to this now ?
what Profuel suggested:
if not request.user.is_superuser:
self.exclude.append('A')
else:
self.exclude.pop('A')
does not work for me because I have some fieldsets in my Admin class:
fieldsets = ('foo', {'fields': ['A',]})
then I get the Caught KeyError while rendering: Key 'A' not found in
Form.
maybe someone could point me to how to reload Admin classes every
time ?
cheers,
_j
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.