summaryrefslogtreecommitdiffstats
path: root/README
blob: 75dc6e7982c76519a6c904010aed0d55e83e9356 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
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