Comments (3)
You can subclass the views to configure the app. I agree sometimes settings can be convenient but in this case it's more noise and a level of coupling that's really not needed.
Is the case_sensitive
parameter going to change between local development, staging and production? Same question with token_expires
:)
My take is that while this might change between a project an another, it's not a good enough case for adding new settings.
from django-password-reset.
I agree with the original request.
IMO/E subclassing views of third-party apps should be reserved for more heavy customisation than just changing some basic configuration. Otherwise, why do we have a settings.py at all, when we could just subclass everything? And, certainly IME, the settings file is not only used for values that change between production, development, etc. environments.
Not to mention that if you subclass any of the views, you would then also have to reconstruct at least part of the URLconf, rather than just following the basic install instructions and adding one or two lines to settings.py. Seems a bit much, just to change a token expiry time?
from django-password-reset.
@raumkraut 👍
from django-password-reset.
Related Issues (20)
- views.Reset.invalid AttributeError exception HOT 2
- Not working when use namespace
- Reset link doesnt show form HOT 1
- Nothing shows up on recover page. HOT 1
- NoReverseMatch
- Reset only by email
- password_reset_recover blank screen HOT 2
- Italian translation
- Token valid after password changed
- django.urls.exceptions.NoReverseMatch: Reverse for 'password_reset_reset' with arguments '('NQ:1dYOiG:BKXR_HhymHf7uYTnlDcPHioITOY',)' and keyword arguments '{}' not found. 0 pattern(s) tried: [] HOT 2
- How do i use a custom template for django-password-reset
- bug django2.x need use django.urls instead HOT 4
- Provide API for generating a reset url outside of the Form/View Code HOT 4
- Django2.1.2 can not found password_reset_reset HOT 1
- Explain the difference between this and django-registration
- URL exposes base64 encoded email address
- Plug in security feedback
- Django 4.0 Url Problem HOT 2
- Update the library for latest Django
- Please, make a pypi release of 3.0 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-password-reset.