X-Git-Url: https://git.mdrn.pl/django-cas-provider.git/blobdiff_plain/c4e951ccbda6275dd5134a431af7e0ee8f129feb..3cbcd5e5abc9765cd329b09de514f2b5c47b7723:/README.rst diff --git a/README.rst b/README.rst index 0677574..ca8c6c3 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) +CAS_CHECK_SERVICE - check if ticket service is equal with service GET argument