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 django-request-log to the project’s requirement file
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
Metadata
Release files for django-request-log 0.0.12
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-request-log-0.0.12.tar.gz | 5.7 kB | Details |
Release files / django-request-log-0.0.12.tar.gz
| Download URL | django-request-log-0.0.12.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2fc375d1a30ac460076b737a06c9bc48804eac0d3624be352bed8e072faa213
|
|
BLAKE2b-256 checksum How to use checksums |
f1a6a118784b47854c518cbf70a6a1f949fd4128c46d70417ef485fdd0133ac9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |