Git Product home page Git Product logo

Comments (3)

brutasse avatar brutasse commented on September 26, 2024

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.

romlok avatar romlok commented on September 26, 2024

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.

eduardo-matos avatar eduardo-matos commented on September 26, 2024

@raumkraut 👍

from django-password-reset.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.