Django Q Documentation
Release 0.3.6[https://www.djangoproject.com] Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.8 and 1.8.2. Django-picklefield [https://github.com/gintas/django-picklefield] index modules | next | previous | Django Q 0.3.6 documentation » Tasks Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task async('math instance: from django_q import async, fetch # create a synchronous task task_id = async('my.buggy.code', sync=True) # the task will then be available immediately task = fetch(task_id) # and can be examined0 码力 | 35 页 | 198.62 KB | 1 年前3
Django Q Documentation
Release 0.3.62.7 and 3.4 • Django Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.8 and 1.8.2. • Django-picklefield Used to store args, kwargs PythonParser during high loads: $ pip install hiredis 1.2 Tasks 1.2.1 Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task async('math instance: from django_q import async, fetch # create a synchronous task task_id = async('my.buggy.code', sync=True) # the task will then be available immediately task = fetch(task_id) # and can be examined0 码力 | 30 页 | 235.40 KB | 1 年前3
Django Q Documentation
Release 0.4.62.7 and 3.4 • Django Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.9 and 1.8.3. • Django-picklefield Used to store args, kwargs PythonParser during high loads: $ pip install hiredis 1.2 Tasks 1.2.1 Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task async('math instance: from django_q import async, fetch # create a synchronous task task_id = async('my.buggy.code', sync=True) # the task will then be available immediately task = fetch(task_id) # and can be examined0 码力 | 36 页 | 249.57 KB | 1 年前3
Django CMS 2.4.x DocumentationCookie 1.3. Language Chooser 1.4. page_language_url 1.5. hide_unstranslated 1.6. Automated slug generation unicode characters 2. Sitemap Guide 2.1. Sitemap 2.2. Configuration 2.3. django.contrib.sitemaps Contributing to django CMS 1. Contributing to django CMS 1.1. Community 1.2. In a nutshell 1.3. Contributing Code 1.4. Contributing Documentation 1.5. Translations 2. Running and writing tests 2.1. Running tests compatibility issues) django-sekizai [https://github.com/ojii/django-sekizai] 0.7 or higher html5lib [http://code.google.com/p/html5lib/] 0.90 or higher django-i18nurls [https://github.com/brocaar/django-i18nurls]0 码力 | 156 页 | 727.78 KB | 6 月前3
Django Q Documentation
Release 0.7.9[https://www.djangoproject.com] Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.10 and 1.8.5. Django-picklefield [https://github.com/gintas system CPU affinity is provided by psutil which at this time does not support this feature on OSX. The code however is aware of this and will fake the CPU affinity assignment in the logs without actually assigning This way you can still develop with this setting. Windows The cluster and worker multiprocessing code depend on the OS’s ability to fork, unfortunately forking is not supported under windows. You should0 码力 | 62 页 | 514.67 KB | 1 年前3
Django Q Documentation
Release 0.7.92.7 and 3.5 • Django Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.10 and 1.8.5. • Django-picklefield Used to store args, kwargs • CPU affinity is provided by psutil which at this time does not support this feature on OSX. The code however is aware of this and will fake the CPU affinity assignment in the logs without actually assigning This way you can still develop with this setting. Windows The cluster and worker multiprocessing code depend on the OS’s ability to fork, unfortunately forking is not supported under windows. You should0 码力 | 50 页 | 397.77 KB | 1 年前3
Django Q Documentation
Release 0.5.3[https://www.djangoproject.com] Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.10 and 1.8.4. Django-picklefield [https://github.com/gintas index modules | next | previous | Django Q 0.5.3 documentation » Tasks Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task async('math instance: from django_q import async, fetch # create a synchronous task task_id = async('my.buggy.code', sync=True) # the task will then be available immediately task = fetch(task_id) # and can be examined0 码力 | 46 页 | 474.97 KB | 1 年前3
Django Q Documentation
Release 0.4.6[https://www.djangoproject.com] Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.9 and 1.8.3. Django-picklefield [https://github.com/gintas/django-picklefield] index modules | next | previous | Django Q 0.4.6 documentation » Tasks Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task async('math instance: from django_q import async, fetch # create a synchronous task task_id = async('my.buggy.code', sync=True) # the task will then be available immediately task = fetch(task_id) # and can be examined0 码力 | 42 页 | 203.66 KB | 1 年前3
Django Q Documentation
Release 0.5.32.7 and 3.4 • Django Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.10 and 1.8.4. • Django-picklefield Used to store args, kwargs cpu_affinity setting requires the optional psutil module. 1.3 Tasks 1.3.1 Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task 1 instance: from django_q import async, fetch # create a synchronous task task_id = async('my.buggy.code', sync=True) # the task will then be available immediately task = fetch(task_id) # and can be examined0 码力 | 38 页 | 358.27 KB | 1 年前3
Django Q Documentation
Release 0.6.4[https://www.djangoproject.com] Django Q aims to use as much of Django’s standard offerings as possible The code is tested against Django version 1.7.10 and 1.8.4. Django-picklefield [https://github.com/gintas that were being executed get lost. Keep in mind this is not the same as a failing task. If a tasks code crashes, this should only lead to a failed task status. Even though this might be acceptable in some index modules | next | previous | Django Q 0.6.4 documentation » Tasks Async Use async() from your code to quickly offload tasks to the Cluster: from django_q import async, result # create the task async('math0 码力 | 53 页 | 512.86 KB | 1 年前3
共 93 条
- 1
- 2
- 3
- 4
- 5
- 6
- 10













