Celery 3.1 Documentationwith Celery Next Steps Resources User Guide Application Tasks Calling Tasks Canvas: Designing Workflows Workers Guide Periodic Tasks HTTP Callback Tasks (Webhooks) Routing Tasks Monitoring and Management here Troubleshooting Next Steps Using Celery in your Application Calling Tasks Canvas: Designing Workflows Routing Remote Control Timezone Optimization What to do now? Resources Getting Help Bug tracker external tools to tell you what your cluster is doing – in real-time. Read more…. Workflows Simple and complex workflows can be composed using a set of powerful primitives we call the “canvas”, including0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 3.1 Documentationexternal tools to tell you what your cluster is doing – in real-time. Read more... . • Workflows Simple and complex workflows can be composed using a set of powerful primitives we call the “canvas”, including Calling Tasks 30 Chapter 2. Contents Celery Documentation, Release 3.1.25 • Canvas: Designing Workflows • Routing • Remote Control • Timezone • Optimization • What to do now? Using Celery in your tasks user guide. Calling tasks is described in detail in the Calling Guide. Canvas: Designing Workflows You just learned how to call a task using the tasks delay method, and this is often all you need0 码力 | 607 页 | 2.27 MB | 1 年前3
Celery 1.0 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), max_length=64) incre- ment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url enable the Django translation machinery you need to activate it with a language. Note: Be sure to reset to the previous language when done. >>> from django.utils import translation 64 Chapter 6. Frequently0 码力 | 123 页 | 400.69 KB | 1 年前3
Celery 1.0 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), increment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url enable the Django translation machinery you need to activate it with a language. Note: Be sure to reset to the previous language when done. >>> from django.utils import translation >>> prev_language0 码力 | 221 页 | 283.64 KB | 1 年前3
Celery 2.0 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), max_length=64) incre- ment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url0 码力 | 165 页 | 492.43 KB | 1 年前3
Celery 2.0 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), increment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url0 码力 | 284 页 | 332.71 KB | 1 年前3
Celery 2.1 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), max_length=64) incre- ment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url0 码力 | 285 页 | 1.19 MB | 1 年前3
Celery 2.1 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), increment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url0 码力 | 463 页 | 861.69 KB | 1 年前3
Celery 2.3 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), max_length=64) increment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url0 码力 | 334 页 | 1.25 MB | 1 年前3
Celery 2.2 Documentationblog/models.py The comment model looks like this: from django.db import models from django.utils.translation import ugettext_lazy as _ class Comment(models.Model): name = models.CharField(_("name"), max_length=64) increment its count by. clickmuncher/models.py: from django.db import models from django.utils.translation import ugettext_lazy as _ class ClickManager(models.Manager): def increment_clicks(self, for_url0 码力 | 314 页 | 1.26 MB | 1 年前3
共 51 条
- 1
- 2
- 3
- 4
- 5
- 6













