mirror of
https://github.com/django/django.git
synced 2025-09-04 17:50:44 +00:00
Fixed #29236 -- Fixed diffsettings crash if using settings.configure().
This commit is contained in:
parent
cfb4845f06
commit
49b679371f
4 changed files with 23 additions and 5 deletions
9
tests/admin_scripts/configured_settings_manage.py
Normal file
9
tests/admin_scripts/configured_settings_manage.py
Normal file
|
@ -0,0 +1,9 @@
|
|||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
from django.conf import settings
|
||||
from django.core.management import execute_from_command_line
|
||||
|
||||
if __name__ == '__main__':
|
||||
settings.configure(DEBUG=True)
|
||||
execute_from_command_line(sys.argv)
|
Loading…
Add table
Add a link
Reference in a new issue