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

I think does not work with Django 3.1

Open rrauenza opened this issue 3 years ago • 4 comments

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...

rrauenza avatar Mar 04 '21 08:03 rrauenza

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 avatar Mar 12 '21 07:03 RevolutionTech

@RevolutionTech wanna update the readme with that recommendation?

matthewwithanm avatar Mar 12 '21 17:03 matthewwithanm

Added a deprecation notice to the README here: https://github.com/matthewwithanm/django-classbasedsettings/pull/25

RevolutionTech avatar Mar 14 '21 04:03 RevolutionTech

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!

rrauenza avatar Oct 01 '21 20:10 rrauenza