Coder Social home page Coder Social logo

Comments (2)

knowsuchagency avatar knowsuchagency commented on August 17, 2024

I also saw this in the documentation:

# These are the URLs to be implemented by your single-page application.
HEADLESS_FRONTEND_URLS = {
    "account_confirm_email": "https://app.project.org/account/verify-email/{key}",
    "account_reset_password_from_key": "https://app.org/account/password/reset/key/{key}",
    "account_signup": "https://app.org/account/signup",
}

What does configuring HEADLESS_FRONTEND_URLS do? What happens if it's missing?

from django-allauth.

pennersr avatar pennersr commented on August 17, 2024

The OpenAPI/Swagger documentation -- is that something you're generating manually?

Yes. What's important is that there is a valid OpenAPI spec, the way in which it is generated should not matter to consumers of the API.

Ninja sufficiently popular and battle-tested

But so is DRF. It's simply not an option to pick a side in this debate. The headless API should work with whatever API framework you are using, and not favor one above the other.

HEADLESS_FRONTEND_URLS

That is documented here:

https://github.com/pennersr/django-allauth/blob/feat-headless/docs/headless/configuration.rst

from django-allauth.

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.