Skip to main content

A Django app to help developers login to any user via django command.

Project description

Django Dev Admin

|version| |license|

This project gives you a middleware that allow you to login to any user via django command.

Installation

pip install django-dev-admin

Just add django_dev_admin.middleware.DevAdminMiddleware to your MIDDLEWARE after django.contrib.sessions.middleware.SessionMiddleware

MIDDLEWARE = [
    ...,
    "django.middleware.security.SecurityMiddleware",
    "django.contrib.sessions.middleware.SessionMiddleware",
    "django_dev_admin.middleware.DevAdminMiddleware",
    ...,
]

Settings

If you are not using default development hostname and port. Please put this option in your settings.py

DEFAULT_DEV_SERVER = "http://localhost:8000"

Production

Please disable this module in production

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-dev-admin-0.1.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page