mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-02 20:54:41 +03:00
Add missing string import
This commit is contained in:
parent
e4d1f4dae6
commit
c72ac58300
|
@ -47,7 +47,7 @@ Generate a secret key for yourself, eg like this:
|
|||
|
||||
.. code-block:: bash
|
||||
|
||||
python -c 'import random; print("".join(random.SystemRandom().choice(string.digits + string.ascii_letters + string.punctuation) for _ in range(50)))'
|
||||
python -c 'import random;import string; print("".join(random.SystemRandom().choice(string.digits + string.ascii_letters + string.punctuation) for _ in range(50)))'
|
||||
|
||||
Make a note of it, since we'll need it here in the console and later on in the web app config tab.
|
||||
|
||||
|
@ -179,5 +179,3 @@ For subsequent deployments, the procedure is much simpler. In a Bash console:
|
|||
And then go to the Web tab and hit **Reload**
|
||||
|
||||
**TIP:** *if you're really keen, you can set up git-push based deployments: https://blog.pythonanywhere.com/87/*
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user