Giter Club home page Giter Club logo

Comments (6)

mfisco avatar mfisco commented on September 25, 2024 1

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.

M3te0r avatar M3te0r commented on September 25, 2024

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.

elnygren avatar elnygren commented on September 25, 2024

also looks like interpolate=True by default so v0.11.0 is a breaking change 😓 (had this same issue today)

from django-environ.

joke2k avatar joke2k commented on September 25, 2024

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.

sergeyklay avatar sergeyklay commented on September 25, 2024

This breaking change was reverted. The v0.11.1 version has just been released. I apologize for the inconvenience

from django-environ.

sergeyklay avatar sergeyklay commented on September 25, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.