Skip to main content

Counts the number of the requests coming from various os.

Project description

to install run the command

    pip install django-requesting-os-analyzer

add to your installed apps

    INSTALLED_APPS = [
        ...,
        'django_requesting_os_analyzer.apps.DjangoRequestingOsAnalyzerConfig',
    ]

add middleware

    MIDDLEWARE = [
        ...,
        'django_requesting_os_analyzer.middleware.CounterMiddleware',
    ]

and then to allow the graph to show up you have to tweak your templates settings, make sure 'APP_DIRS' is set to True.

TEMPLATES = [
    {
        ...,
        'DIRS': ['templates'],
        'APP_DIRS': True,
    },
]

you can also change the color of the graph's bar and their border by defing following

REQUEST_ANALYZER_BG_COLOR = (255,255,255,0.2)
REQUEST_ANALYZER_CHART_COLOR = (255,0,0,0.2)

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_requesting_os_analyzer-0.1.4.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_requesting_os_analyzer-0.1.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file django_requesting_os_analyzer-0.1.4.tar.gz.

File metadata

File hashes

Hashes for django_requesting_os_analyzer-0.1.4.tar.gz
Algorithm Hash digest
SHA256 f199bd20cffc91a8a66585812768846d49cf41f448511f87c92ea38054d8ce0d
MD5 876a8e8b31417039c6db13e18ad0bdf6
BLAKE2b-256 ec11552f71e27f630a3bef974783380a959a850ca0b9c0c27422adb748ddccbb

See more details on using hashes here.

File details

Details for the file django_requesting_os_analyzer-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for django_requesting_os_analyzer-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e1af44e458af3a58e08ebfe2c0ffc3dc67e08b8c83542029ef4433b60408a642
MD5 2391431e30425d8f037c3f0f66f13fa3
BLAKE2b-256 9858ad161e1dccc85aa9d5cc08ae7ee1fab57ee9cdba857438fce20d644d22ee

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