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
Close
Hashes for django_requesting_os_analyzer-0.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 670197cb10ae2710662555575f22268c2d1ad604ff2735e8fa5341c7c4e84d9b |
|
MD5 | 3f3deab8412b518db0fbdf89890bacd8 |
|
BLAKE2b-256 | dc77fc4f3421c44adc0897eeed6fc89ba3d82d496c591e5f8fc66d1ae6ae651c |
Close
Hashes for django_requesting_os_analyzer-0.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54527a2b4f5b7451001a83fa2242965b67b13d39b80c5e80acd7c495511d0573 |
|
MD5 | bd5797b9afea037e9d91ff74c4b2dbec |
|
BLAKE2b-256 | a1a389059312c53a005c146aefb69da78aa8cf56c71a13fec79b22f339835486 |