Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

django-request-track

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

django-request-track

Django package designed to capture and store HTTP requests essential information, including IP address, user model, user agent, HTTP method, timestamp, and more.

  • 0.2.2
  • PyPI
  • Socket score

Maintainers
1

django-request-logger

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc