https://github.com/redapesolutions/django-pin-auth
Pin based registration and authentication
https://github.com/redapesolutions/django-pin-auth
Last synced: 12 months ago
JSON representation
Pin based registration and authentication
- Host: GitHub
- URL: https://github.com/redapesolutions/django-pin-auth
- Owner: redapesolutions
- License: mit
- Created: 2017-09-26T20:53:57.000Z (almost 9 years ago)
- Default Branch: develop
- Last Pushed: 2017-10-18T03:39:25.000Z (over 8 years ago)
- Last Synced: 2025-01-14T15:19:06.904Z (over 1 year ago)
- Language: Python
- Size: 84 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
README
=============================
Django pin authentication
=============================
.. image:: https://badge.fury.io/py/django-pin-auth.svg
:target: https://badge.fury.io/py/django-pin-auth
.. image:: https://travis-ci.org/matiboy/django-pin-auth.svg?branch=master
:target: https://travis-ci.org/matiboy/django-pin-auth
.. image:: https://codecov.io/gh/matiboy/django-pin-auth/branch/master/graph/badge.svg
:target: https://codecov.io/gh/matiboy/django-pin-auth
.. image:: https://img.shields.io/badge/commitizen-friendly-brightgreen.svg
:target: http://commitizen.github.io/cz-cli/
Django pin based authentication
Documentation
-------------
The full documentation is at https://django-pin-auth.readthedocs.io.
Quickstart
----------
Install Django pin authentication::
pip install django-pin-auth
Add it to your `INSTALLED_APPS`:
.. code-block:: python
INSTALLED_APPS = (
...
'django_pin_auth.apps.DjangoPinAuthConfig',
...
)
Add Django pin authentication's URL patterns:
.. code-block:: python
from django_pin_auth import urls as django_pin_auth_urls
urlpatterns = [
...
url(r'^pinauth', include(django_pin_auth_urls, namespace='django_pin_auth')),
...
]
Requirements
------------
You must have sessions enabled.
Development
-----------
You can get an environment with a dev project set up very quickly with Docker:
::
export COMPOSE_FILE=dev.yml
docker-compose up
If need be, you can modify the environment variables as declared in the ``.env`` file
Features
--------
* TODO
Running Tests
-------------
Does the code actually work?
::
source /bin/activate
(myenv) $ pip install tox
(myenv) $ tox
Credits
-------
Tools used in rendering this package:
* Cookiecutter_
* `cookiecutter-djangopackage`_
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage