Explorar o código

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

Berker Peksag %!s(int64=8) %!d(string=hai) anos
pai
achega
d375da20e8
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  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.