Install reports plugin for NEMO
Project description
NEMO Reports
This plugin for NEMO adds a variety of reports.
Installation
pip install NEMO-reports
Add NEMO Reports
in settings.py
add to INSTALLED_APPS
:
INSTALLED_APPS = [
'...',
'NEMO_reports', # This needs to be before NEMO_billing (if installed) and NEMO
'...'
'NEMO_billing', # Optional
'...'
'NEMO',
'...'
]
Usage
Simply navigate to the Reports
page in the Administration
menu.
Options
The format for duration can be changed, by updating the default value TIMEDELTA_FORMAT
in settings.py:
Fields can include seconds, minutes, hours, days, and weeks. Each field is optional.
Some examples:
'{D:02}d {H:02}h {M:02}m {S:02}s' --> '05d 08h 04m 02s' (default)
'{W}w {D}d {H}:{M:02}:{S:02}' --> '4w 5d 8:04:02'
'{D:2}d {H:2}:{M:02}:{S:02}' --> ' 5d 8:04:02'
'{H}h {S}s' --> '72h 800s'
# Default timedelta format
TIMEDELTA_FORMAT = "{D}d {H}h {M}m {S}s"
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for NEMO_reports-1.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebcfce35cfef13f1fc7b399067bf97b5492abbbaa89b6643d9677900b9d731ea |
|
MD5 | c787fa15eead9c1f4759429acd78c83d |
|
BLAKE2b-256 | 03d30b6b794cb9b9344eba3d852ab10045114a9b0a5180d44695359073beea83 |