Comments (6)
Hi, I appreciate you getting the patch out so quickly! Unfortunately, I'm still having trouble with v0.11.1.
If there's a $ symbol followed by one or more letters (uppercase or lowercase), it still raises an exception. For example, you could reproduce it using the following as a secret key:
SECRET_KEY=ABCDEFG_1234567890_N0T@R3ALV@L$S3CR3TK3Y@HELLOWORLD
Which raises the exception:
...
django.core.exceptions.ImproperlyConfigured: Set the S3CR3TK3Y environment variable
And as @JaredBrown138 had mentioned, reverting to v0.10.0 does fix the issue.
from django-environ.
Hi, I also just tried to upgrade to v0.11.0 and have the same error with a secret generated with get_random_secret_key()
from django-environ.
also looks like interpolate=True
by default so v0.11.0 is a breaking change 😓 (had this same issue today)
from django-environ.
Hey there,
Yes the new release has this unplanned breaking change.
We are working to create a patch for it.
Sorry about that.
from django-environ.
This breaking change was reverted. The v0.11.1 version has just been released. I apologize for the inconvenience
from django-environ.
django-environ v0.11.2 with a fix has been released, thank you for reporting
https://github.com/joke2k/django-environ/releases/tag/v0.11.2
from django-environ.
Related Issues (20)
- v0.11.0/ v0.11.1 breaks on Mac OSX HOT 1
- UserWarning: Engine not recognized from url : sqlite3 HOT 3
- Path issues with read_env since 11.0+ HOT 11
- Simplicity and Stability vs Advanced Features HOT 2
- Hash sign inside double quotes is interpreted as the start of a comment HOT 5
- Deprecated Code from python 2.x to 3.x HOT 1
- db_url() fail with oracle dsn
- db support for CockroachDB HOT 1
- Wrong missing environment variable name if using prefix HOT 1
- Django's RedisCache OPTIONS needs to be lowercase
- Double quotes no longer work for including the `#` in a string HOT 5
- ModuleNotFoundError: No module named 'environ'
- Support new db option `pool` in Django 5.1 HOT 1
- Restore defaults in .env HOT 6
- DeprecationWarning: 'pkgutil.find_loader' is deprecated and slated for removal in Python 3.14; use importlib.util.find_spec() instead on 3.12 HOT 1
- Does the option to disable interpolation even work?
- The variable is still rturned even if it is not defined in configuration
- Strip starting and trailing whitespace from environment values
- FR: Add support for Cloudflare's D1 in database URIs
- Add support for Django 5.1 PostgreSQL connection pools to env.db_url
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-environ.