You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Are there any caveats with using Waffle Switches to conditionally change settings in my project's settings.py?
For instance, is it required to restart the Django process for the changes to take effect?
And if a request is required, what is the best way to do this automatically?
AFAIK that's not what Waffle's for. Although there are some settings it's safe to change at run-time, in general you should avoid this. I imagine the problem you have is really wanting to change settings at all at run-time, rather than not being able to do that with Waffle. What settings is it that you want to change?
Toby's right, Waffle doesn't interact with settings that way. You can use something like constance if you really need to tweak settings-like things. I'll put a more complete comment on SO.
Are there any caveats with using Waffle Switches to conditionally change settings in my project's settings.py?
For instance, is it required to restart the Django process for the changes to take effect?
And if a request is required, what is the best way to do this automatically?
Also on SO: http://stackoverflow.com/questions/19250316/using-waffle-to-toggle-settings-py
The text was updated successfully, but these errors were encountered: