django-waffle icon indicating copy to clipboard operation
django-waffle copied to clipboard

A single settings dict

Open jsocol opened this issue 10 years ago • 2 comments

The trend in django core has been to move from lots of NAMESPACE_* settings to NAMESPACE = {'FOO': 1}. I think in the interest of reducing settings namespace bloat, and simplifying some code in a few places (well, replacing getattr() with .get(), mostly), this is a good trend and we should move the WAFFLE_* settings into a WAFFLE dict.

jsocol avatar Oct 21 '15 13:10 jsocol

I'm +1 on this.

willkg avatar Oct 21 '15 13:10 willkg

Since it's another breaking change, I'm putting it in 0.12 for now.

jsocol avatar Oct 21 '15 13:10 jsocol