1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Introduced a script to generate SECRET_KEY; removed example SECRET_KEY

This commit is contained in:
Jeremy Stretch
2016-06-21 14:07:47 -04:00
parent 67d5d008b9
commit df55ec0114
3 changed files with 23 additions and 19 deletions

View File

@ -135,13 +135,7 @@ DATABASE = {
Generate a random secret key of at least 50 alphanumeric characters. This key must be unique to this installation and must not be shared outside the local system.
Example:
```
SECRET_KEY = '^6-ub1!t@ty5tomzkp6-ag0_y$kckdk2lmbx2$ya2r+ikk5&#d'
```
DO NOT COPY AND PASTE THE KEY FROM THE EXAMPLE.
You may use the script located at `netbox/generate_secret_key.py` to generate a suitable key.
## Run Migrations