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

pony-traffic

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pony-traffic

pony-traffic is a fork of django-request with tracking module. It stores requests in a database for admins to see, it can also be used to get statistics on who is online, where are clients, how much time they spent, etc.

  • 1.5.0
  • PyPI
  • Socket score

Maintainers
1

django-request

Build Status

django-request is a statistics module for django. It stores requests in a database for admins to see, it can also be used to get statistics on who is online etc.

Traffic graph

As well as a site statistics module, with the active_users template tag and manager method you can also use django-request to show who is online in a certain time.

Request.objects.active_users(minutes=15)

To find the request overview page, please click on Requests inside the admin, then “Overview” on the top right, next to “add”.

Installation

  • Put 'request' in your INSTALLED_APPS setting.
  • Run the command manage.py syncdb.
  • Add request.middleware.RequestMiddleware to MIDDLEWARE_CLASSES. If you use django.contrib.auth, place the RequestMiddleware after it. If you use django.contrib.flatpages place request.middleware.RequestMiddleware before it else flatpages will be marked as error pages in the admin panel.
  • Make sure that the domain name in django.contrib.sites admin is correct. This is used to calculate unique visitors and top referrers.

Detailed documentation

For a detailed documentation of django-request, or how to install django-request please see: django-request or the docs/ directory.

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