Kaydet (Commit) 46082339 authored tarafından Thomas Grainger's avatar Thomas Grainger

the SECRET_KEY is not a hash

üst 60416260
...@@ -24,7 +24,7 @@ class Command(TemplateCommand): ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment