Quellcode durchsuchen

Autogenerated documentation for github.

Ask Solem vor 15 Jahren
Ursprung
Commit
5be55b2e1f
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
  1. 2 3
      celery/views.py

+ 2 - 3
celery/views.py

@@ -1,4 +1,3 @@
-"""celery.views"""
 from django.http import HttpResponse, Http404
 
 from anyjson import serialize as JSON_dump
@@ -11,8 +10,8 @@ from celery.backends import default_backend
 
 
 def task_view(task):
-    """Decorator turning a task into a view that applies the task
-    asynchronusly.
+    """Decorator turning any task into a view that applies the task
+    asynchronously.
 
     :returns: a JSON dictionary containing the keys ``ok``, and
         ``task_id``.