After following this article: http://www.b-list.org/weblog/2008/dec/24/admin/
I have managed to implement admin users editing and seeing only their
own records (yay).
However, I would like to be able to limit the fields users see based
on if they're superusers or not (i.e.: superusers see all fiel
Never mind, it was easy.
Basically, overriding the "get_form":
def get_form(self, request, obj=None, **kwargs):
if request.user.is_superuser:
self.exclude = None
On Feb 3, 5:42 pm, "Rodrigo C." wrote:
> After following this article:http://www.b-list.org/weblog/2008/dec/24/a
2 matches
Mail list logo