A Django deployment package for all hosting types.
Project description
Django-mfa is a simple Django app to for providing MFA (Multi-Factor Authentication).
Documentation is avaliable online, or in the docs directory of the project.
Quick start
Installation
The Git repository can be cloned with this command:
git clone https://github.com/MicroPyramid/django-mfa
The django_mfa package, included in the distribution, should be placed on the PYTHONPATH.
Otherwise you can just easy_install -Z django-mfa or pip install django-mfa.
Settings
Add app name in settings.py:
INSTALLED_APPS = [ '..................', 'django_mfa', '..................' ]
Add ‘django_mfa.middleware.MfaMiddleware’ to your project middlewares:
MIDDLEWARE = [ '....................................', 'django_mfa.middleware.MfaMiddleware', '....................................', ]
Urls
Add the following to your root urls.py file.
urlpatterns = [
...
url(r'^settings/', include('django_mfa.urls', namespace="mfa")),
]
Done. With these settings you have now, you will get the MFA features.
You can try it by hosting on your own or deploy to Heroku with a button click.
Visit our Django web development page Here
We welcome your feedback and support, raise github ticket if you want to report a bug. Need new features? Contact us here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_mfa-0.0.9-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f45c37a29f39066c055091a12de16d584e8c5c88a7e29241c10748a07d6305fe |
|
MD5 | 4241a5c7c8562995333d812e8fd7003f |
|
BLAKE2b-256 | 29fbaab273f468e4ae314691d2323bce06f860ab96094a262f365208bc9c3187 |