Re: Allow only superusers to log into admin

2009-05-14 Thread ringemup
Thanks, that looks like a good place to start. I'm literally setting up two separate admin sites -- I need to prevent the "staff" from even accessing the site for the superusers, as it presents a lot of options I don't want to even be visible to them, displays different inlines, etc. On May 14

Re: Allow only superusers to log into admin

2009-05-14 Thread Michael
On Thu, May 14, 2009 at 6:10 PM, ringemup wrote: > > Is there a way to limit admin login to superusers? I'd like to set up > multiple admin areas -- one for regular users and one for superusers. > > Thanks! You can subclass the AdminSite Class and just overide the has_permission function to re

Allow only superusers to log into admin

2009-05-14 Thread ringemup
Is there a way to limit admin login to superusers? I'd like to set up multiple admin areas -- one for regular users and one for superusers. Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" grou