Move generate_localserver_secrets.py to scripts/setup.

(imported from commit 8d9ca2fc78700a38ec3ce5866b2b1032aabe1635)
This commit is contained in:
Tim Abbott 2013-10-25 17:34:44 -04:00
parent 7c6ca81df5
commit 38c5629505
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@
import sys, os, os.path import sys, os, os.path
sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..')) sys.path.insert(0, os.path.join(os.path.dirname(__file__), '..', '..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'zproject.settings' os.environ['DJANGO_SETTINGS_MODULE'] = 'zproject.settings'
from django.utils.crypto import get_random_string from django.utils.crypto import get_random_string