Opened 17 hours ago
Closed 16 hours ago
#36021 closed New feature (wontfix)
Add option to configure the settings module from pyproject.toml
Reported by: | Ryan Hiebert | Owned by: | Ryan Hiebert |
---|---|---|---|
Component: | Core (Management commands) | Version: | |
Severity: | Normal | Keywords: | |
Cc: | Ryan Hiebert | Triage Stage: | Unreviewed |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
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
Change History (4)
comment:1 by , 17 hours ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 17 hours ago
Triage Stage: | Accepted → Unreviewed |
---|
comment:4 by , 16 hours ago
Resolution: | → wontfix |
---|---|
Status: | assigned → closed |
Closing following my comment in the forum topic (since we need to triage somehow, and we can't accept this yet), we need to allow for more time for others to find the topic, read and comment. Let's revisit early Jan!
You cannot accept your own ticket 🙂