This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
auf-auf-django-secretquestions/README

43 lines
675 B
Plaintext

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