Merge pull request #2699 from graingert/patch-3

the SECRET_KEY is not a hash
This commit is contained in:
Marc Tamlyn 2014-05-22 13:32:03 +01:00
commit 3545f31bcf
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class Command(TemplateCommand):
"project name. Please try another name." % "project name. Please try another name." %
project_name) project_name)
# Create a random SECRET_KEY hash to put it in the main settings. # Create a random SECRET_KEY to put it in the main settings.
chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)' chars = 'abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)'
options['secret_key'] = get_random_string(50, chars) options['secret_key'] = get_random_string(50, chars)