fnp
/
django-cas-provider.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
allow URLs without trailing slashes: not all CAS clients follow redirects
[django-cas-provider.git]
/
README.rst
diff --git
a/README.rst
b/README.rst
index
0677574
..
d313340
100644
(file)
--- a/
README.rst
+++ b/
README.rst
@@
-23,7
+23,7
@@
INSTALLATION
To install, run the following command from this directory:
To install, run the following command from this directory:
-
``python setup.py install``
+ ``python setup.py install``
Or, put cas_provider somewhere on your Python path.
Or, put cas_provider somewhere on your Python path.
@@
-32,7
+32,12
@@
USAGE
#. Add ``'cas_provider'`` to your ``INSTALLED_APPS`` tuple in *settings.py*.
#. In *settings.py*, set ``LOGIN_URL`` to ``'/cas/login/'`` and ``LOGOUT_URL`` to ``'/cas/logout/'``
#. Add ``'cas_provider'`` to your ``INSTALLED_APPS`` tuple in *settings.py*.
#. In *settings.py*, set ``LOGIN_URL`` to ``'/cas/login/'`` and ``LOGOUT_URL`` to ``'/cas/logout/'``
- before they expire. Default: 5 minutes
-#. In *urls.py*, put the following line:
- ``(r'^cas/', include('cas_provider.urls')),``
+#. In *urls.py*, put the following line: ``(r'^cas/', include('cas_provider.urls')),``
#. Create login/logout templates (or modify the samples)
#. Create login/logout templates (or modify the samples)
+#. Use 'cleanuptickets' management command to clean up expired tickets
+
+SETTINGS
+=========
+
+CAS_TICKET_EXPIRATION - minutes to tickets expiration (default is 5 minutes)
+