[Django]-Sudo equivalent for Django user profiles

3👍

Djangosnippets.org is your friend: http://www.djangosnippets.org/snippets/1590/

2👍

I knocked up a user panel in the debug toolbar. It works well for flipping logged in users around . The fork is here.

http://github.com/mjbrownie/django-debug-toolbar

it also displays some basic user group permission info. I didn’t get around to expanding it.

you could borrow the logic so it doesn’t have to run in debug mode.

Edit: This post and plugin is old and no longer maintained. It looks like someone has independently created this however.

https://github.com/playfire/django-debug-toolbar-user-panel

Leave a comment