Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Django Celery 文档建议我可以检查一些 URL 来获取任务的状态。这些网址是什么?
要访问这些 URL,您需要从您的一个urls.py文件中包含它们。例如:
urls.py
urlpatterns = patterns('', url('^tasks/', include('djcelery.urls')), )
然后,您将使用例如http://example.com/tasks/{{ task_id }}/status/.
http://example.com/tasks/{{ task_id }}/status/