From 26cda43012104cf700673966659f8c2f2bfb0bbe Mon Sep 17 00:00:00 2001 From: Luke Plant Date: Wed, 20 Apr 2011 17:40:53 +0000 Subject: Switched to HTML5 doctype in all Django supplied templates. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16050 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/ref/contrib/flatpages.txt | 3 +-- docs/topics/templates.txt | 10 ++++------ docs/topics/testing.txt | 2 +- 3 files changed, 6 insertions(+), 9 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index a99f75eb2d..c01130067b 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -170,8 +170,7 @@ Here's a sample :file:`flatpages/default.html` template: .. code-block:: html+django - + {{ flatpage.title }} diff --git a/docs/topics/templates.txt b/docs/topics/templates.txt index 3b641fb58e..3f56c9ea01 100644 --- a/docs/topics/templates.txt +++ b/docs/topics/templates.txt @@ -259,9 +259,8 @@ defines **blocks** that child templates can override. It's easiest to understand template inheritance by starting with an example:: - - + + {% block title %}My amazing site{% endblock %} @@ -313,9 +312,8 @@ in ``base.html`` and replace those blocks with the contents of the child template. Depending on the value of ``blog_entries``, the output might look like:: - - + + My amazing blog diff --git a/docs/topics/testing.txt b/docs/topics/testing.txt index 64e4707350..fb9f6e53b9 100644 --- a/docs/topics/testing.txt +++ b/docs/topics/testing.txt @@ -615,7 +615,7 @@ Web pages:: 200 >>> response = c.get('/customer/details/') >>> response.content - '