From fd0cad6737e1b10ca8574428e1884e8c4755146e Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Fri, 15 Mar 2019 14:32:47 +0100 Subject: Celery configuration --- example_project/__init__.py.celery.sample | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 example_project/__init__.py.celery.sample (limited to 'example_project/__init__.py.celery.sample') diff --git a/example_project/__init__.py.celery.sample b/example_project/__init__.py.celery.sample new file mode 100644 index 000000000..ebae6a3c3 --- /dev/null +++ b/example_project/__init__.py.celery.sample @@ -0,0 +1,15 @@ +# force the retranslation of generated strings and external module +from django.utils.translation import ugettext_lazy as _ + +from .celery import app as celery_app + +__all__ = ('celery_app',) + +_(u"username") +_(u"email address") +_(u"warehouse") +_(u"New warehouse") +_(u"warehouse") +_(u"New organization") +_(u"New person") +_(u"New author") -- cgit v1.2.3