skip to navigation
skip to content

django-view-as 0.3.0

A Django middleware which allows you to view the site on behalf of a user.

Latest Version: 0.5.0

A simple middleware which allows a superuser to view the site on behalf of another user.

This idea originated within Disqus, and has served quite well in helping debug user problems.


Install the package:

pip install django-view-as

Add the middleware:


Register the application within INSTALLED_APPS:


Make sure the application loader is available for templates:



Load any page with an html response type and you’ll see a new toolbar at the top of the page. Enter a username to change who you’re viewing the site as.

If you need more complex behavior (such as not binding based on the superuser attribute), check out the source the middleware is designed to be extensibile.

File Type Py Version Uploaded on Size
django-view-as-0.3.0.tar.gz (md5) Source 2013-12-03 7KB