Skip to main content

Pluggable Django applications to record user login and logout events and URL views.

Project description

django-request-log

Build Status Coverage Status Requirements Status

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 django-request-log to the project’s requirement file

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
    

Project details


Release history Release notifications

This version
History Node

0.0.12

History Node

0.0.11

History Node

0.0.10

History Node

0.0.9

History Node

0.0.8

History Node

0.0.7

History Node

0.0.6

History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

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.12.tar.gz (5.7 kB) Copy SHA256 hash SHA256 Source None Jul 26, 2017

Supported by

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