django-classbasedsettings
django-classbasedsettings copied to clipboard
I think does not work with Django 3.1
Somehow it thinks these are both defined:
django.core.exceptions.ImproperlyConfigured: PASSWORD_RESET_TIMEOUT_DAYS/PASSWORD_RESET_TIMEOUT are mutually exclusive.
And neither are in my code. I even tried setting one to None. I fear that Django has significantly changed their settings module so that there is a conflict now...
That's unfortunate that Django 3.1 isn't compatible, but I guess it is to be expected.
I don't believe the original author @matthewwithanm maintains this repo anymore. I was the author of the most recent commit, but that was still many years ago.
I don't speak for the original author of this repo, but my recommendation would be to switch to django-configurations, if you can. It offers a lot of the benefits that django-classbasedsettings provides, but it is currently maintained by Jazzband so it is likely to continue to be maintained for the foreseeable future.
@RevolutionTech wanna update the readme with that recommendation?
Added a deprecation notice to the README here: https://github.com/matthewwithanm/django-classbasedsettings/pull/25
I'll try going back to the other -- for some reason I found this one superior, but I can't recall why at the moment! Thank you for your work on this @matthewwithanm -- I also see the other one is credited as being inspired by this one!