소스 검색

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

Berker Peksag 9 년 전
부모
커밋
d375da20e8
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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.