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

Refactoring for old migrated settings #172

Open
nezhar opened this issue Feb 8, 2023 · 0 comments
Open

Refactoring for old migrated settings #172

nezhar opened this issue Feb 8, 2023 · 0 comments

Comments

@nezhar
Copy link
Member

nezhar commented Feb 8, 2023

The following settings should be renamed to use the module's namespace schema:

  • DJANGO_REST_MULTITOKENAUTH_RESET_TOKEN_EXPIRY_TIME to DJANGO_REST_PASSWORDRESET_RESET_TOKEN_EXPIRY_TIME
  • DJANGO_REST_MULTITOKENAUTH_REQUIRE_USABLE_PASSWORD to DJANGO_REST_PASSWORDRESET_REQUIRE_USABLE_PASSWORD

A mapping should be used to ensure compatibility for the next 3 versions.
A log message should mark the old variables as deprecated.

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

No branches or pull requests

1 participant