Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ Some environment variables in the `.env` file have a default value of `changethi
You have to change them with a secret key, to generate secret keys you can run the following command:

```bash
python -c "import secrets; print(secrets.token_urlsafe(32))"
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"
```

Copy the content and use that as password / secret key. And run that again to generate another secure key.
Expand Down
4 changes: 2 additions & 2 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ secret_key:
help: |
'The secret key for the project, used for security,
stored in .env, you can generate one with:
python -c "import secrets; print(secrets.token_urlsafe(32))"'
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"'
default: changethis

first_superuser:
Expand Down Expand Up @@ -51,7 +51,7 @@ postgres_password:
help: |
'The password for the PostgreSQL database, stored in .env,
you can generate one with:
python -c "import secrets; print(secrets.token_urlsafe(32))"'
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"'
default: changethis

sentry_dsn:
Expand Down
2 changes: 1 addition & 1 deletion deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Some environment variables in the `.env` file have a default value of `changethi
You have to change them with a secret key, to generate secret keys you can run the following command:

```bash
python -c "import secrets; print(secrets.token_urlsafe(32))"
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"
```

Copy the content and use that as password / secret key. And run that again to generate another secure key.
Expand Down