Fixed malformed Sphinx directives.
This commit is contained in:
parent
600fb7c51b
commit
e3d1f2422c
|
@ -228,7 +228,7 @@ See :doc:`/topics/logging` for details on logging.
|
||||||
|
|
||||||
See :doc:`/howto/error-reporting` for details on error reporting by email.
|
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
|
Consider using an error monitoring system such as Sentry_ before your
|
||||||
inbox is flooded by reports. Sentry can also aggregate logs.
|
inbox is flooded by reports. Sentry can also aggregate logs.
|
||||||
|
|
|
@ -618,7 +618,7 @@ redirects to the login page::
|
||||||
def test_func(self):
|
def test_func(self):
|
||||||
return self.request.user.email.endswith('@example.com')
|
return self.request.user.email.endswith('@example.com')
|
||||||
|
|
||||||
.. admonition: Stacking UserPassesTestMixin
|
.. admonition:: Stacking ``UserPassesTestMixin``
|
||||||
|
|
||||||
Due to the way ``UserPassesTestMixin`` is implemented, you cannot stack
|
Due to the way ``UserPassesTestMixin`` is implemented, you cannot stack
|
||||||
them in your inheritance list. The following does NOT work::
|
them in your inheritance list. The following does NOT work::
|
||||||
|
|
|
@ -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
|
that your database doesn't match your models, you'll just get errors when
|
||||||
migrations try to modify those tables.
|
migrations try to modify those tables.
|
||||||
|
|
||||||
.. versionchanged: 1.8
|
.. versionchanged:: 1.8
|
||||||
|
|
||||||
The ``--fake-initial`` flag to :djadmin:`migrate` was added. Previously,
|
The ``--fake-initial`` flag to :djadmin:`migrate` was added. Previously,
|
||||||
Django would always automatically fake-apply initial migrations if it
|
Django would always automatically fake-apply initial migrations if it
|
||||||
|
|
Loading…
Reference in New Issue