Browse Source

Use code-block directive for cache backend example (#3368)

Berker Peksag 8 years ago
parent
commit
d375da20e8
1 changed files with 2 additions and 0 deletions
  1. 2 0
      docs/django/first-steps-with-django.rst

+ 2 - 0
docs/django/first-steps-with-django.rst

@@ -184,6 +184,8 @@ To use this with your project you need to follow these steps:
 
     For the cache backend you can use:
 
+    .. code-block:: python
+
         CELERY_RESULT_BACKEND = 'django-cache'
 
 ``django-celery-beat`` -- Database-backed Periodic Tasks with Admin interface.