#36021: Add option to configure the settings module from pyproject.toml
-------------------------------------+-------------------------------------
Reporter: Ryan | Owner: Ryan Hiebert
Hiebert |
Type: New | Status: assigned
feature |
Component: Core | Version:
(Management commands) |
Severity: Normal | Keywords:
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Read from a `pyproject.toml` in the current directory, from the
`tool.django.settings_module` key if present, and set it as the default
`DJANGO_SETTINGS_MODULE` in the same way that is currently done in the
`manage.py`. To allow it to also be used as an alternative to `manage.py`,
also adjust the python path to include the same directory as the
`pyproject.toml` in the python path.
Forum Discussion: https://forum.djangoproject.com/t/name-the-main-command-
django/37230/14
External Implementation: https://github.com/ryanhiebert/django-cmd
--
Ticket URL: <https://code.djangoproject.com/ticket/36021>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/django-updates/01070193d50fe11e-24061953-a921-4627-912b-8562cbf7f409-000000%40eu-central-1.amazonses.com.