question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

setup.py indicates that you can’t run this app with a Django version greater than 2.1.5.

Could you update the code and/or dependency spec to support Django 3? Thanks!

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ashwin31commented, Nov 3, 2021

I will get it done today @ausram

1reaction
stevehutchinscommented, Oct 26, 2021

Hey, I’ve just tried to get django_mfa version 2.1 working with django 3.2.4.final and here’s what I had to change to get it to work:

  1. Install missing requirement (this isn’t documented): sudo pip3 install python-u2flib-server
  2. Modify django_mfa/models.py (change field size from 10 to 20): secret_code = models.CharField(max_length=20)
  3. Run this (isn’t documented): python manage.py migrate
  4. Include urls: path(‘settings/’, include(‘django_mfa.urls’))

Hope this helps Steve

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django 3.0 release notes
Django 3.0 supports Python 3.6, 3.7, 3.8, and 3.9 (as of 3.0.11). We highly recommend and only officially support the latest release of...
Read more >
Django 3.2 release notes
Django 3.2 is designated as a long-term support release. It will receive security updates for at least three years after its release.
Read more >
Download Django
We recommend using the latest version of Python 3. The last version to support Python 2.7 is Django 1.11 LTS. See the FAQ...
Read more >
FAQ: Installation | Django documentation
Typically, we will support a Python version up to and including the first ... and are better supported, the latest version of Python...
Read more >
Django: The web framework for perfectionists with deadlines
Django is a high-level Python web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found