This document describes the current stable version of django_celery_monitor (1.1). For development docs, go here.
django_celery_monitor.humanize
¶
Some helpers to humanize values.
-
django_celery_monitor.humanize.
naturaldate
(date, include_seconds=False)[source]¶ Convert datetime into a human natural date string.
-
django_celery_monitor.humanize.
pluralize_day
(n)[source]¶ Return a string with the number of days ago.
-
django_celery_monitor.humanize.
pluralize_month
(n)[source]¶ Return a string with the number of months ago.