Skip to content

Commit 1e02093

Browse files
committed
Update secret value generation code examples in copier.yml
1 parent bb70368 commit 1e02093

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

copier.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ secret_key:
1313
help: |
1414
'The secret key for the project, used for security,
1515
stored in .env, you can generate one with:
16-
python -c "import secrets; print(secrets.token_urlsafe(32))"'
16+
python -c "import secrets; print(secrets.token_urlsafe(32)[:40])"'
1717
default: changethis
1818

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

5757
sentry_dsn:

0 commit comments

Comments
 (0)