Skip to main content

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
------------

Add the line below to the project's requirement file:
````
django-request-log
````
Or run:
````
pip install django-request-log
````

Usage
-----

1. Add ``log`` to your ``INSTALLED_APPS``.

2. 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',
)
````

3. Run:
````
python manage.py syncdb
````

TODOs and BUGS
==============

See: https://github.com/orcasgit/django-request-log/issues

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
django-request-log-0.0.3.tar.gz (3.2 kB) Copy SHA256 hash SHA256 Source None Feb 20, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page