See your chosen settings on standard output when django is starting with runserver
command with
an additional CLI option.
For Django 1.8.5 and Python 2.7, 3.2, 3.3, 3.4.
Latest python package information
Other information
Once installed, using this command:
python manage.py runserver --config
Additional CLI Options
--config | Show your settings on standard output. |
Please see python manage.py runserver --help
for more information additional options.
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
.
See VERSION.
See CHANGELOG.
- home page: https://pypi.python.org/pypi/django-settings-startup/2.0
- ranking: http://pypi-ranking.info/module/django-settings-startup
- home page: http://www.pylint.org/
- all codes: http://pylint-messages.wikidot.com/all-codes
- 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
See LICENSE.