Code Monkey home page Code Monkey logo

Comments (3)

clokep avatar clokep commented on July 20, 2024

Hm...we're using 0.6 and this isn't cause us issues. Did you add the 2FA URLs to your root URL configuration? The "latest" docs on read the docs might be wrong, check out the installation guide.

Our project uses pip3 with a requirements.txt file for deployment so there is no easy way to use a non-release version of the code.

Not really a solution, but it is possible to do this using git URLs, see https://pip.pypa.io/en/stable/reference/pip_install/#vcs-support We do that for a few of our requirements... (if you do this, I recommend using a specific commit hash or tag).

It appears there are quite a few commits since the last 0.6 release which may fix thi issue already.

I believe that URL no longer exists in master!

What is the timeline for a new release?

There's no particular timeline, I was hoping to finish the two outstanding PRs before releasing, but they've been sitting there for a while now.

from django-allauth-2fa.

squio avatar squio commented on July 20, 2024

Indeed, my bad; we have allauth included at prefix 'accounts/' in a separate file my_app.site_urls and so configured 2fa similarly:

    path('accounts/', include('allauth_2fa.urls')),

The prefix wasn't the problem but the urls must be included in the urls.py file which is configured in settings.py it appears.

With that change it works for me.
Thanks!

from django-allauth-2fa.

clokep avatar clokep commented on July 20, 2024

@squio My guess would be that you have a namespace set in my_app.site_urls, which is why that wouldn't work.

Glad you figured it out though! πŸ‘

from django-allauth-2fa.

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.