f585247224
K-Fêt - Statistics New base class - StatScale - create scale, given chunk size (timedelta), start and end times - get labels of - get start and end datetimes of chunks DayStatScale: Scale whose chunks interval is 1 day WeekStatScale: same with 1 week MonthStatScale: same with 1 month AccountStatOperationList: manifest of operations stats of an account - renamed from AccountStatLastAll - updated according to SingleResumeStat AccountStatOperation: - renamed from AccountStatLast - remove scale logic with use of StatScale objects - used scale is given by `scale` and `scale_args` GET params - add filter on operations types with `types` GET param AccountStatLast(Day,Week,Month) are deleted ("merged" in AccountStatOperation) |
||
---|---|---|
.. | ||
fixtures | ||
management/commands | ||
migrations | ||
static/kfet | ||
templates/kfet | ||
templatetags | ||
__init__.py | ||
admin.py | ||
apps.py | ||
autocomplete.py | ||
backends.py | ||
consumers.py | ||
context_processors.py | ||
decorators.py | ||
forms.py | ||
middleware.py | ||
models.py | ||
routing.py | ||
signals.py | ||
statistic.py | ||
tests.py | ||
urls.py | ||
views.py |