Re: questions about model attribute permissions set in django admin

2009-10-15 Thread Eesti Mate
Hi Allen, it looks like there is a 'pain in the ass' solution to your needs: http://stackoverflow.com/questions/1336382/how-can-i-modify-django-to-create-view-permission Cheers Eesti --~--~-~--~~~---~--~~ You received this message because you are subscribed to

Re: questions about model attribute permissions set in django admin

2009-10-07 Thread Allen
Is there a way to implement this in the django admin app? I don't want to create a custom form or view, I want to use the default form and view that djang admin provide. Thanks! On Oct 8, 2:12 am, Scott wrote: > I'm looking for the same kind of thing, I think you will have to > create a custom

Re: questions about model attribute permissions set in django admin

2009-10-07 Thread Scott
I'm looking for the same kind of thing, I think you will have to create a custom form or view and do something like if request.user.has_perm('some_custom_perm') show field --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

questions about model attribute permissions set in django admin

2009-10-07 Thread Allen
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 the