kit-data-manager / kit-data-manager/EVOKS

Put django secret key in .env

Open
#254 0 comments 0 reactions 1 assignee Claimed by @FelixFrizzy View on GitHub
comment / enhancement priority::2(medium) unit::setup(docker) usability
Dominant language
Python
Stars
7
Forks
3
PR merge metrics
No merged PRs in 30d

Description

python secret key should be put in .env (for usability reasons)
Therefore, something like
`SECRET_KEY = os.getenv('DJANGO_SECRET_KEY', 'django-insecure-_91@mjc8g-&q_f9io$jmicovci2bilh#)ud3$^iqhj1wnccr%t')` should be added to settings.py

and a `DJANGO_SECRET_KEY =` to .example.env accordingly.

The issue is that certain characters (.e.g $ and #) are not escaped and break the read process of the .env file. Putting everything explicitly as str did also not help (.e.g `str(os.getenv...)` or `DJANGO_SECRET_KEY=str(...)`).

Also related to #241

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.