A simple Django app to see settings on startup.
Project description
See your chosen settings on output when django is starting with runserver command, an additional CLI option.
For Django 1.8.5 and python 3.4.
Usage
Once installed, using this command:
python manage.py runserver --config
Additional CLI Options
- --config
Show your settings on output.
Please see python manage.py runserver --help for more information additional options.
Install
Download package:
pip install django-settings-startup
Add “django_settings_startup” in first rank to your INSTALLED_APPS settings like this:
INSTALLED_APPS = [ 'django_settings_startup', ... ]
It is important to install this app in first (before native django apps), to override the command runserver.
Latest Version
1.0
Source Code
PyPI
Useful links
https://github.com/django/django/blob/stable/1.8.x/django/core/management/commands/runserver.py
https://github.com/django/django/blob/stable/1.8.x/django/core/management/base.py
https://github.com/django/django/blob/stable/1.8.x/django/core/management/commands/testserver.py
https://docs.djangoproject.com/en/1.8/howto/custom-management-commands/
https://docs.djangoproject.com/en/1.8/ref/django-admin/#running-management-commands-from-your-code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for django-settings-startup-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 491a1fa6dcbf6dd00acd77f3b9959d5fddfc293a18a5e9f14813788a66465009 |
|
MD5 | 55b1a36c65eb4cce65f502ca55badffb |
|
BLAKE2b-256 | 3127a238134be38aec9c19e2119d29cc72ce9411878ad349c0db0c8f7dd6a7a3 |