Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DeprecationWarning for USE_DEPRECATED_PYTZ, CSRF_COOKIE_MASKED, USE_L10N #373

Open
washeck opened this issue Oct 25, 2023 · 0 comments
Open

Comments

@washeck
Copy link
Contributor

washeck commented Oct 25, 2023

When running tests on Django 4.2/Python 3.11 with -Wd switch, I am getting deprecation warning RemovedInDjango50Warning.

If I get it correctly, these should be added to ConfigurationBase.deprecated_settings. I can make a PR to address this but I'm not sure if just adding it there does not break things for users of older Django versions.

While looking at it, it seems to me that settings deprecated a long time ago (e.g. DEFAULT_CONTENT_TYPE) could be removed. Or do you plan to keep them on the list forever even though they are not present in Django's global_settings.py?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant