1
0
mirror of https://github.com/django/django.git synced 2024-12-24 18:16:19 +00:00

the SECRET_KEY is not a hash

This commit is contained in:
Thomas Grainger 2014-05-22 11:19:54 +01:00
parent 604162604b
commit 46082339d2

View File

@ -24,7 +24,7 @@ class Command(TemplateCommand):
"project name. Please try another 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!@#$%^&*(-_=+)'
options['secret_key'] = get_random_string(50, chars)