Browse Source

* Fixes items format route in docs (#3875)

* Minor fix to contributing.rst
Slam 8 years ago
parent
commit
c015bfdb89
2 changed files with 6 additions and 5 deletions
  1. 4 3
      CONTRIBUTING.rst
  2. 2 2
      docs/userguide/routing.rst

+ 4 - 3
CONTRIBUTING.rst

@@ -1,8 +1,8 @@
 .. _contributing:
 
-==============
- Contributing
-==============
+============
+Contributing
+============
 
 Welcome!
 
@@ -285,6 +285,7 @@ Branches
 Current active version branches:
 
 * dev (which git calls "master") (https://github.com/celery/celery/tree/master)
+* 4.0 (https://github.com/celery/celery/tree/4.0)
 * 3.1 (https://github.com/celery/celery/tree/3.1)
 * 3.0 (https://github.com/celery/celery/tree/3.0)
 

+ 2 - 2
docs/userguide/routing.rst

@@ -54,8 +54,8 @@ specify the router in *items* format instead:
 .. code-block:: python
 
     task_routes = ([
-        ('feed.tasks.*': {'queue': 'feeds'}),
-        ('web.tasks.*': {'queue': 'web'}),
+        ('feed.tasks.*', {'queue': 'feeds'}),
+        ('web.tasks.*', {'queue': 'web'}),
         (re.compile(r'(video|image)\.tasks\..*'), {'queue': 'media'}),
     ],)