Skip to main content

Django Viewers Count Middleware get from user request

Project description

Django Viewers Count Middleware

Viewers Count is a Django app to collect visitors request counts with path.

Detailed documentation.

Quick start

  1. Add "viewers_count" to your INSTALLED_APPS setting like this::

    INSTALLED_APPS = [

     ...
     'viewers_count',
    

    ]

  2. Add "ViewerCountMiddleware" to your INSTALLED_APPS setting like this::

    MIDDLEWARE = [

     ...
     'viewers_count.middleware.ViewersCountMiddleware',
    

    ]

  3. Run to create the viewerscount models.

     python manage.py migrate
    

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-viewers-counts-middleware-0.0.4.tar.gz (1.7 kB view hashes)

Uploaded Source

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