Fixed #29236 -- Fixed diffsettings crash if using settings.configure().

This commit is contained in:
Hasan Ramezani 2018-08-18 23:57:39 +04:30 committed by Tim Graham
parent cfb4845f06
commit 49b679371f
4 changed files with 23 additions and 5 deletions

View 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)