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 details)

Uploaded Source

File details

Details for the file django-viewers-counts-middleware-0.0.4.tar.gz.

File metadata

File hashes

Hashes for django-viewers-counts-middleware-0.0.4.tar.gz
Algorithm Hash digest
SHA256 7c3195f4a8dd8e7ea0cb3d181230ebb26dd5344aa169cac2afef0691874c3afc
MD5 19c3ccfaf3368f899c6f7e41bfcbddd5
BLAKE2b-256 39ae985d07561057cd2a5fda2ae8701c76eb5edd234df68f5c90e578983cc8c4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page