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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_requesting_os_analyzer-0.1.4.tar.gz.
File metadata
- Download URL: django_requesting_os_analyzer-0.1.4.tar.gz
- Upload date:
- Size: 5.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.7 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f199bd20cffc91a8a66585812768846d49cf41f448511f87c92ea38054d8ce0d
|
|
| MD5 |
876a8e8b31417039c6db13e18ad0bdf6
|
|
| BLAKE2b-256 |
ec11552f71e27f630a3bef974783380a959a850ca0b9c0c27422adb748ddccbb
|
File details
Details for the file django_requesting_os_analyzer-0.1.4-py3-none-any.whl.
File metadata
- Download URL: django_requesting_os_analyzer-0.1.4-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.7 Darwin/20.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e1af44e458af3a58e08ebfe2c0ffc3dc67e08b8c83542029ef4433b60408a642
|
|
| MD5 |
2391431e30425d8f037c3f0f66f13fa3
|
|
| BLAKE2b-256 |
9858ad161e1dccc85aa9d5cc08ae7ee1fab57ee9cdba857438fce20d644d22ee
|