décorateurs et modèles pour protéger une vue par des questions secrètes
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 
 
Benjamin Dauvergne e37c0f282f Remove setup.cfg, it breaks Debian packaging 8 years ago
auf Store requesting user on the request when successfull 8 years ago
debian Add debian packaging 8 years ago
.coveragerc fix coverage with tox 10 years ago
.gitignore start playing with tox & coverage 10 years ago
CHANGES add changes 10 years ago
MANIFEST.in rename package finish testing 10 years ago
README readme 10 years ago
setup.py fix namespace 10 years ago
tox.ini add south 10 years ago

README

auf.django.secretquestions
==========================


install
-------

* pip install auf.django.secretquestions

* include 'auf.django.secretquestions.urls' into patterns

* add 'auf.django.secretquestions' to your INSTALLED_APPS

* run syncdb --migrate


use
---

* add decorator to your view : secret_questions_required(ttl=None)


configuration
-------------

* SQ_SESSION_KEY : key for session

* SQ_TOKEN_TTL : global TTL (if not set in the decorator)


run tests
---------

* (optional) create virtualenv environment

* pip install tox

* git clone http://git.auf.org/auf_django_secretquestions.git auf.django.secretquestions

* cd  auf.django.secretquestions

* tox