update documentation
[django-cas-provider.git] / README.rst
index 0677574..d313340 100644 (file)
@@ -23,7 +23,7 @@ INSTALLATION
 
 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.
        
@@ -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/'``
-       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)
+#. Use 'cleanuptickets' management command to clean up expired tickets
+
+SETTINGS
+=========
+
+CAS_TICKET_EXPIRATION - minutes to tickets expiration (default is 5 minutes)
+