Skip to main content

Adds two factor authentication to django-allauth

Reason this release was yanked:

Package was missing template files; use 0.11.1 instead

Project description

https://github.com/valohai/django-allauth-2fa/actions/workflows/ci.yml/badge.svg https://codecov.io/gh/valohai/django-allauth-2fa/branch/main/graph/badge.svg https://readthedocs.org/projects/django-allauth-2fa/badge/?version=latest

django-allauth-2fa adds two-factor authentication to django-allauth. django-allauth is a set of Django applications which help with authentication, registration, and other account management tasks.

Source code

http://github.com/percipient/django-allauth-2fa

Documentation

https://django-allauth-2fa.readthedocs.io/

Features

Compatibility

django-allauth-2fa attempts to maintain compatibility with supported versions of Django, django-allauth, and django-otp.

Current versions supported together is:

Django

django-allauth

django-otp

Python

3.2

0.53.0

1.1

3.7, 3.8, 3.9, 3.10

4.0

0.53.0

1.1

3.8, 3.9, 3.10, 3.11

4.1

0.53.0

1.1

3.8, 3.9, 3.10, 3.11

4.2

0.53.0

1.1

3.8, 3.9, 3.10, 3.11

Contributing

django-allauth-2fa was initially created by Víðir Valberg Guðmundsson (@valberg), was maintained by Percipient Networks for many years, and is now maintained by Valohai. Please feel free to contribute if you find django-allauth-2fa useful!

  1. Check for open issues or open a fresh issue to start a discussion around a feature idea or a bug.

  2. If you feel uncomfortable or uncertain about an issue or your changes, feel free to email support@percipientnetworks.com and we will happily help you.

  3. Fork the repository on GitHub to start making your changes to the main branch (or branch off of it).

  4. Write a test which shows that the bug was fixed or that the feature works as expected.

  5. Send a pull request and bug the maintainer until it gets merged and published.

Running tests

Tests can be run using [pytest](https://docs.pytest.org/en/6.2.x/).

pip install -r requirements-test.txt
py.test

Running the test project

The test project can also be used as a minimal example using the following:

# Migrate the SQLite database first.
DJANGO_SETTINGS_MODULE=tests.settings python manage.py migrate
# Run the server with debug.
DJANGO_SETTINGS_MODULE=tests.settings python manage.py runserver_plus
# Run the shell.
DJANGO_SETTINGS_MODULE=tests.settings python manage.py shell_plus

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_allauth_2fa-0.11.0.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_allauth_2fa-0.11.0-py3-none-any.whl (12.0 kB view details)

Uploaded Python 3

File details

Details for the file django_allauth_2fa-0.11.0.tar.gz.

File metadata

  • Download URL: django_allauth_2fa-0.11.0.tar.gz
  • Upload date:
  • Size: 9.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.1 CPython/3.11.4

File hashes

Hashes for django_allauth_2fa-0.11.0.tar.gz
Algorithm Hash digest
SHA256 43e0ebb5913123607da38e8a964d38242d7c8c77d37bd17e2e529ee062790ec1
MD5 56d48e8947f6471d3157f64c85afd912
BLAKE2b-256 57d5052618d3c74279f5046a694585e06c060d8fc659adec3d1bfc86c5b87d17

See more details on using hashes here.

File details

Details for the file django_allauth_2fa-0.11.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_allauth_2fa-0.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4cb72359a94e429b3bc035f0c8c5a4a809b4120a0e6c22a1e11a6ced09fb478
MD5 9bc38a8e769866d0d955b67b32eb401e
BLAKE2b-256 b2c16e1769db9ab363354059a173b4392f7b9b6ae60fd0a7a12b4ac5cde62ba2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page