From e3d1f2422c49d7f65d017b8caa35215afe18f835 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 25 Jul 2015 06:37:51 -0400 Subject: [PATCH] Fixed malformed Sphinx directives. --- docs/howto/deployment/checklist.txt | 2 +- docs/topics/auth/default.txt | 2 +- docs/topics/migrations.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/howto/deployment/checklist.txt b/docs/howto/deployment/checklist.txt index 05ea3d4fc0..b6b0683d08 100644 --- a/docs/howto/deployment/checklist.txt +++ b/docs/howto/deployment/checklist.txt @@ -228,7 +228,7 @@ See :doc:`/topics/logging` for details on logging. See :doc:`/howto/error-reporting` for details on error reporting by email. -.. admonition: Error reporting by email doesn't scale very well +.. admonition:: Error reporting by email doesn't scale very well Consider using an error monitoring system such as Sentry_ before your inbox is flooded by reports. Sentry can also aggregate logs. diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt index 9606df83db..925f8a307c 100644 --- a/docs/topics/auth/default.txt +++ b/docs/topics/auth/default.txt @@ -618,7 +618,7 @@ redirects to the login page:: def test_func(self): return self.request.user.email.endswith('@example.com') - .. admonition: Stacking UserPassesTestMixin + .. admonition:: Stacking ``UserPassesTestMixin`` Due to the way ``UserPassesTestMixin`` is implemented, you cannot stack them in your inheritance list. The following does NOT work:: diff --git a/docs/topics/migrations.txt b/docs/topics/migrations.txt index 82354f96a8..f979030fb3 100644 --- a/docs/topics/migrations.txt +++ b/docs/topics/migrations.txt @@ -333,7 +333,7 @@ Note that this only works given two things: that your database doesn't match your models, you'll just get errors when migrations try to modify those tables. -.. versionchanged: 1.8 +.. versionchanged:: 1.8 The ``--fake-initial`` flag to :djadmin:`migrate` was added. Previously, Django would always automatically fake-apply initial migrations if it