Pluggable Django applications to record user login and logout events and URL views.
Project description
django-request-log
django-request-log is pluggable Django application to keep track user login and logout events and URLs views developed at ORCAS.
Quickstart
Installation
django-request-log is available on PyPI, so you can install it with pip:
$ pip install django-request-log
Or add the line below to the project’s requirement file:
django-request-log
Usage
Add log to your INSTALLED_APPS.
Add log.middleware.RequestLoggingMiddleware to your MIDDLEWARE_CLASSES:
MIDDLEWARE_CLASSES = ( 'django.middleware.common.CommonMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', ... 'log.middleware.RequestLoggingMiddleware', )
Run:
$ python manage.py syncdb
TODOs and BUGS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.