jazzband / django-constance

Dynamic Django settings.
https://django-constance.readthedocs.io
BSD 3-Clause "New" or "Revised" License
1.66k stars 307 forks source link

Settings change on page reload #530

Closed Schroedingberg closed 3 months ago

Schroedingberg commented 8 months ago

Describe the problem

I have a few booleans in my constance live settings that decide whether certain elements are shown in the templates or not. Let's say I have a variable A in constance and if A then X is visible in the template. Now, if I set A to False in the constance admin, most of the time this is passed on to the views - but on some page reloads the value changes. I have tried switching from the database backend to the Redis backend but to no success.

Steps to reproduce

System configuration

sergei-iurchenko commented 6 months ago

could you publish test project? i will check it