X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/c4e951ccbda6275dd5134a431af7e0ee8f129feb..a5c7eb28dded9330101e16c9bcdd720b17bf83e9:/README.rst diff --git a/README.rst b/README.rst index 0677574..d313340 100644 --- a/README.rst +++ b/README.rst @@ -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) +