This commit is contained in:
Olivier Larchevêque 2013-08-13 14:16:35 -04:00
parent 430780d94b
commit 0144aa7f3b
1 changed files with 42 additions and 0 deletions

42
README Normal file
View File

@ -0,0 +1,42 @@
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