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

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.

Source Distribution

django-request-log-0.0.12.tar.gz (5.7 kB view details)

Uploaded Source

File details

Details for the file django-request-log-0.0.12.tar.gz.

File metadata

File hashes

Hashes for django-request-log-0.0.12.tar.gz
Algorithm Hash digest
SHA256 a2fc375d1a30ac460076b737a06c9bc48804eac0d3624be352bed8e072faa213
MD5 e1577ee7045048594100342ac45bf2a9
BLAKE2b-256 f1a6a118784b47854c518cbf70a6a1f949fd4128c46d70417ef485fdd0133ac9

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page