瀏覽代碼

the SECRET_KEY is not a hash

Thomas Grainger 11 年之前
父節點
當前提交
46082339d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      django/core/management/commands/startproject.py

+ 1 - 1
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)