Hi, all: I am working on a project with django, I have encounter a problem and searched it in google, but didn't find any solution:
I have two users can login django admin, and I have a model with some attributes. one of the users is site admin and the other is a normal users, both of them can login the django admin site and can edit the model instance. I want to implement this feature: some of attributes of the model instance are editable in the django admin for admin user, but not editable for the normal user. I have tried to set the attributes with editable=False while define the model, but with this, both of admin and normal user can not edit these attributes. Is there a way to implement this? if there is, how to do this step by step? Anybody who can help me? with detail instructions? Thanks! Best Regards! Allen --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---