summaryrefslogtreecommitdiff
path: root/example_project/__init__.py.celery.sample
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2019-03-15 14:32:47 +0100
committerÉtienne Loks <etienne.loks@iggdrasil.net>2019-06-17 13:21:27 +0200
commitfd0cad6737e1b10ca8574428e1884e8c4755146e (patch)
tree61c86fc94eb6bb603ac736396a061a526d625cc2 /example_project/__init__.py.celery.sample
parent20813662d8d91b91dda46d67acbb5e869eb4e064 (diff)
downloadIshtar-fd0cad6737e1b10ca8574428e1884e8c4755146e.tar.bz2
Ishtar-fd0cad6737e1b10ca8574428e1884e8c4755146e.zip
Celery configuration
Diffstat (limited to 'example_project/__init__.py.celery.sample')
-rw-r--r--example_project/__init__.py.celery.sample15
1 files changed, 15 insertions, 0 deletions
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")