diff --git a/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt b/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt index ac12e296126..6b8ccc86295 100644 --- a/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt +++ b/source/tutorial/write-a-tumblelog-application-with-django-mongodb-engine.txt @@ -281,7 +281,7 @@ following: Then add a base template that all others can inherit from. Add the following to :file:`templates/base.html`: -.. code-block:: html +.. code-block:: html+django @@ -317,7 +317,7 @@ Create the frontpage for the blog, which should list all the posts. Add the following template to the :file:`templates/tumblelog/post_list.html`: -.. code-block:: html +.. code-block:: html+django {% extends "base.html" %} @@ -337,7 +337,7 @@ posts. Add the following template to the Finally, add :file:`templates/tumblelog/post_detail.html` for the individual posts: -.. code-block:: html +.. code-block:: html+django {% extends "base.html" %} @@ -457,7 +457,7 @@ Finally, you can add the form to the templates, so that readers can create comments. Splitting the template for the forms out into :file:`templates/_forms.html` will allow maximum reuse of forms code: -.. code-block:: html +.. code-block:: html+django