From 46082339d2f87fdad4899e007ac529fb5d75e122 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Thu, 22 May 2014 11:19:54 +0100 Subject: [PATCH] the SECRET_KEY is not a hash --- django/core/management/commands/startproject.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django/core/management/commands/startproject.py b/django/core/management/commands/startproject.py index b7dcbcaba5..19eca8e018 100644 --- a/django/core/management/commands/startproject.py +++ b/django/core/management/commands/startproject.py @@ -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)