Closed chromakey closed 6 years ago
It looks like it's the fact that it starts with $ is what's breaking it.
Shouldn't this be filed under django-environ?
I reckon you're right. I'll post it there.
Seems like this is still an issue: https://travis-ci.org/pydanny/cookiecutter-django/jobs/216695020
And here https://travis-ci.org/pydanny/cookiecutter-django/jobs/207931982 and here https://travis-ci.org/pydanny/cookiecutter-django/jobs/206205275.
Here is the bug @chromakey opened: https://travis-ci.org/pydanny/cookiecutter-django/jobs/206205275
Should we look for a library that isn't limited in such a way that it doesn't support environment variables with a $
sign? This isn't such a big problem with a secret key we set on our own, but what about credentials from a 3rd party we can't change?
For reference, here is the bug in django-environ: https://github.com/joke2k/django-environ/issues/60
This SECRET_KEY declaration causes a maximum recursion depth exceeded error. (Note: I never used this secret key value anywhere since I was just starting the project)
Results in:
This however, causes no error:
I am using the 1.8.7 release since I'll need LTS. I'm not blocked since I can just change the secret key value, but thought I'd let you know. Thanks for all of your hard work!