Skip to content

Django package designed to capture and store HTTP requests

License

Notifications You must be signed in to change notification settings

PooyaRezaee/django-request-track

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-request-logger

Python Django PyPi

Overview

'django-request-logger' is a Django package designed to capture and store HTTP requests essential information, including IP address, user model, user agent, HTTP method, timestamp, and more.

Installation

Install the package using pip:

pip install django-request-track

Usage

  1. Add request_track to your INSTALLED_APPS in your Django project's settings:

    INSTALLED_APPS = [
        # ...
        'request_track',
        # ...
    ]
  2. Register the middleware in your MIDDLEWARE settings:

    MIDDLEWARE = [
        # ...
        'request_track.middleware.LoggingRequestMiddleware'
    ]
  3. Migrate:

        python manage.py migrate

After it all work will be done automatically and you can see the information through the Django admin panel or work with the "RequestLog" model.

About

Django package designed to capture and store HTTP requests

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages