#32664: Cannot run makemigrations management command without a SECRET_KEY
-------------------------------------+-------------------------------------
Reporter: François | Owner: François Freitag
Freitag |
Type: | Status: assigned
Cleanup/optimization |
Component: Core | Version: dev
(Other) |
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 |
-------------------------------------+-------------------------------------
I believe #29324 intended to fix this issue.
Steps to reproduce:
{{{
$ cd $(mktemp -d)
$ python -m venv venv
$ source venv/bin/activate
$ pip install 'Django>=3.2'
$ python -m django startproject foo
$ sed -ri '/SECRET_KEY/d' foo/foo/settings.py # Remove SECRET_KEY from
settings
$ PYTHONPATH=foo DJANGO_SETTINGS_MODULE="foo.settings" python -m django
makemigrations --check
}}}
The output is attached.
--
Ticket URL: <https://code.djangoproject.com/ticket/32664>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/058.1b211813f6edf900839b534d07a682a1%40djangoproject.com.