django cms 3.3.x DocumentationCMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them as _ class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface _("Create Alias"), reverse("admin:cms_create_alias"), data={'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)}, ) ]0 码力 | 386 页 | 1.56 MB | 1 年前3
django cms 3.5.x DocumentationCMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface _("Create Alias"), reverse("admin:cms_create_alias"), data={'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)}, ) ]0 码力 | 403 页 | 1.69 MB | 1 年前3
django cms 3.4.x DocumentationCMS itself. The two applications are completely independent. They cannot make use of each other’s data or functionality. Let’s create the new Polls/CMS Integration application where we will bring them plugin class PollPluginPublisher(CMSPluginBase): model = PollPluginModel # model where plugin data are saved module = _("Polls") name = _("Poll Plugin") # name of the plugin in the interface _("Create Alias"), reverse("admin:cms_create_alias"), data={'plugin_id': plugin.pk, 'csrfmiddlewaretoken': get_token(request)}, ) ]0 码力 | 395 页 | 1.64 MB | 1 年前3
Celery 2.3 Documentationif they’re not used Avoid launching synchronous subtasks Performance and Strategies Granularity Data locality State Database transactions Example blog/models.py blog/views.py blog/tasks.py This guide processing other waiting tasks. However, executing a task does have overhead. A message needs to be sent, data may not be local, etc. So if the tasks are too fine-grained the additional overhead may not be worth has a whole section dedicated to the topic of task granularity. Data locality The worker processing the task should be as close to the data as possible. The best would be to have a copy in memory, the worst0 码力 | 530 页 | 900.64 KB | 1 年前3
Celery 2.4 Documentation[http://redis.io/] is also feature-complete, but power failures or abrupt termination may result in data loss. Using SQLAlchemy Using the Django Database Using a database as a message queue is not recommended if they’re not used Avoid launching synchronous subtasks Performance and Strategies Granularity Data locality State Database transactions Example blog/models.py blog/views.py blog/tasks.py This guide processing other waiting tasks. However, executing a task does have overhead. A message needs to be sent, data may not be local, etc. So if the tasks are too fine-grained the additional overhead may not be worth0 码力 | 543 页 | 957.42 KB | 1 年前3
Celery 3.1 DocumentationSQLite for local development. Celery can run on a single machine, on multiple machines, or even across data centers. Get Started If this is the first time you’re trying to use Celery, or you are new to Celery com/download.html Redis Redis [http://redis.io/] is also feature-complete, but is more susceptible to data loss in the event of abrupt termination or power failures. Detailed information about using Redis: for different workers too, e.g: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About0 码力 | 887 页 | 1.22 MB | 1 年前3
Celery 2.5 Documentation[http://redis.io/] is also feature-complete, but power failures or abrupt termination may result in data loss. Using SQLAlchemy Using the Django Database Using a database as a message queue is not recommended if they’re not used Avoid launching synchronous subtasks Performance and Strategies Granularity Data locality State Database transactions Example blog/models.py blog/views.py blog/tasks.py This guide processing other waiting tasks. However, executing a task does have overhead. A message needs to be sent, data may not be local, etc. So if the tasks are too fine-grained the additional overhead may not be worth0 码力 | 647 页 | 1011.88 KB | 1 年前3
Celery 2.2 Documentationif they’re not used Avoid launching synchronous subtasks Performance and Strategies Granularity Data locality State Database transactions Example blog/models.py blog/views.py blog/tasks.py This guide processing other waiting tasks. However, executing a task does have overhead. A message needs to be sent, data may not be local, etc. So if the tasks are too fine-grained the additional overhead may not be worth has a whole section dedicated to the topic of task granularity. Data locality The worker processing the task should be as close to the data as possible. The best would be to have a copy in memory, the worst0 码力 | 505 页 | 878.66 KB | 1 年前3
Celery v4.1.0 DocumentationSQLite for local development. Celery can run on a single machine, on multiple machines, or even across data centers. Get Started If this is the first time you’re trying to use Celery, or if you haven’t kept com/download.html Redis Redis [https://redis.io/] is also feature-complete, but is more susceptible to data loss in the event of abrupt termination or power failures. Detailed information about using Redis: different workers too, for example: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About0 码力 | 1057 页 | 1.35 MB | 1 年前3
Celery v4.0.1 DocumentationSQLite for local development. Celery can run on a single machine, on multiple machines, or even across data centers. Get Started If this is the first time you’re trying to use Celery, or if you haven’t kept com/download.html Redis Redis [http://redis.io/] is also feature-complete, but is more susceptible to data loss in the event of abrupt termination or power failures. Detailed information about using Redis: different workers too, for example: $ celery multi start 10 -A proj -l info -Q:1-3 images,video -Q:4,5 data \ -Q default -L:4,5 debug For more examples see the multi module in the API reference. About0 码力 | 1040 页 | 1.37 MB | 1 年前3
共 650 条
- 1
- 2
- 3
- 4
- 5
- 6
- 65













