An small pythonic approach to password
Providing a more pythonic line for password generation using for that the string content.
@@ -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("abcdefghijklmnopqrstuvwxyz0123456789!@#$%^&*(-_=+)") for _ in range(50)))'
+ python -c 'import random; 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.
