Skip to main content

A Django deployment package for all hosting types.

Project description

Documentation Status https://travis-ci.org/MicroPyramid/django-mfa.svg?branch=master Downloads Latest Release https://coveralls.io/repos/github/MicroPyramid/django-mfa/badge.svg?branch=master Code Health https://img.shields.io/github/license/micropyramid/django-mfa.svg

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

  1. Add app name in settings.py:

    INSTALLED_APPS = [
       '..................',
       'django_mfa',
       '..................'
    ]
  2. 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.

https://www.herokucdn.com/deploy/button.svg

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


Download files

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

Source Distribution

django-mfa-0.0.10.tar.gz (11.0 kB view hashes)

Uploaded Source

Built Distribution

django_mfa-0.0.10-py2-none-any.whl (18.4 kB view hashes)

Uploaded Python 2

Supported by

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