gunthercox / setsuperuser

Django command for setting the super user from environment variables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

setsuperuser

Django command for setting the super user from environment variables.

Installation

This package can be installed with pip.

pip install setsuperuser

Add setsuperuser to INSTALLED_APPS.

INSTALLED_APPS = [
    # ...
    'setsuperuser',
]

Set the following environment variables to create the superuser.

  • SUPERUSER_EMAIL
  • SUPERUSER_PASSWORD

About

Django command for setting the super user from environment variables

License:MIT License


Languages

Language:Python 100.0%