agateblue / django-dynamic-preferences

Dynamic global and instance settings for your django project
https://django-dynamic-preferences.readthedocs.org/
BSD 3-Clause "New" or "Revised" License
348 stars 86 forks source link

Add ENABLE_GLOBAL_MODEL_AUTO_REGISTRATION setting #259

Closed er-vin closed 2 years ago

er-vin commented 2 years ago

This is true by default, but when set to false, the GlobalPreferenceModel isn't registered anymore when ready() is called on the app config.

This is needed when you want to register your own model in one of your apps (e.g. a subclass of GlobalPreferenceModel).

er-vin commented 2 years ago

You're welcome @agateblue !

For my information, what are the plans for the next release? We'll probably upgrade when this patch and the previous one reach a stable release.