Explorar el Código

fixed wrong setting name

Omer Korner hace 9 años
padre
commit
e4b226d870
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/userguide/routing.rst

+ 1 - 1
docs/userguide/routing.rst

@@ -608,7 +608,7 @@ a celerybeat schedule:
 
     task_queues = (Broadcast('broadcast_tasks'),)
 
-    task_routes = {'test-task': {
+    beat_schedule = {'test-task': {
             'task': 'tasks.reload_cache',
             'schedule': crontab(minute=0, hour='*/3'),
             'options': {'exchange': 'broadcast_tasks'}