summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2019-02-08 21:38:30 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2019-02-08 21:42:49 +0100
commitf6f0f524c3c96830fdaf1b49ed4ca12d54d37c89 (patch)
tree4850c3418a6202c2bdf175e27b528abfe7b3a0a3 /docs
parentcfadb0e13c3509354f7b8dd432be2f93f3bb3f87 (diff)
[2.0.x] Removed extra characters in docs header underlines.
Backport of 25829197bb94585e94695360065ac614aa9e6a56 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/howto/custom-model-fields.txt4
-rw-r--r--docs/intro/tutorial03.txt2
-rw-r--r--docs/ref/databases.txt2
-rw-r--r--docs/releases/1.0-porting-guide.txt4
-rw-r--r--docs/releases/1.1.txt2
-rw-r--r--docs/topics/auth/passwords.txt2
-rw-r--r--docs/topics/pagination.txt2
7 files changed, 9 insertions, 9 deletions
diff --git a/docs/howto/custom-model-fields.txt b/docs/howto/custom-model-fields.txt
index 8ecfee8709..70f0e12842 100644
--- a/docs/howto/custom-model-fields.txt
+++ b/docs/howto/custom-model-fields.txt
@@ -692,7 +692,7 @@ existing conversion code::
return self.get_prep_value(value)
Some general advice
---------------------
+-------------------
Writing a custom field can be a tricky process, particularly if you're doing
complex conversions between your Python types and your database and
@@ -731,7 +731,7 @@ told to use it. To do so, simply assign the new ``File`` subclass to the special
``attr_class`` attribute of the ``FileField`` subclass.
A few suggestions
-------------------
+-----------------
In addition to the above details, there are a few guidelines which can greatly
improve the efficiency and readability of the field's code.
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
index 32c0c99fd1..f9a2da37a6 100644
--- a/docs/intro/tutorial03.txt
+++ b/docs/intro/tutorial03.txt
@@ -413,7 +413,7 @@ template (or templates) you would change it in ``polls/urls.py``::
...
Namespacing URL names
-======================
+=====================
The tutorial project has just one app, ``polls``. In real Django projects,
there might be five, ten, twenty apps or more. How does Django differentiate
diff --git a/docs/ref/databases.txt b/docs/ref/databases.txt
index 583a29667e..82b5cf8fbe 100644
--- a/docs/ref/databases.txt
+++ b/docs/ref/databases.txt
@@ -835,7 +835,7 @@ both as empty strings. Django will use a different connect descriptor depending
on that choice.
Threaded option
-----------------
+---------------
If you plan to run Django in a multithreaded environment (e.g. Apache using the
default MPM module on any modern operating system), then you **must** set
diff --git a/docs/releases/1.0-porting-guide.txt b/docs/releases/1.0-porting-guide.txt
index 72f01495a5..8dded73236 100644
--- a/docs/releases/1.0-porting-guide.txt
+++ b/docs/releases/1.0-porting-guide.txt
@@ -298,7 +298,7 @@ Old (0.96) New (1.0)
===================== =====================
Work with file fields using the new API
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The internal implementation of :class:`django.db.models.FileField` have changed.
A visible result of this is that the way you access special attributes (URL,
@@ -644,7 +644,7 @@ Testing
-------
:meth:`django.test.Client.login` has changed
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Old (0.96)::
diff --git a/docs/releases/1.1.txt b/docs/releases/1.1.txt
index 3a359559bd..49c375b5ce 100644
--- a/docs/releases/1.1.txt
+++ b/docs/releases/1.1.txt
@@ -267,7 +267,7 @@ A few notable improvements have been made to the :doc:`testing framework
</topics/testing/index>`.
Test performance improvements
-~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. currentmodule:: django.test
diff --git a/docs/topics/auth/passwords.txt b/docs/topics/auth/passwords.txt
index 921eaf4275..8264f60ab8 100644
--- a/docs/topics/auth/passwords.txt
+++ b/docs/topics/auth/passwords.txt
@@ -564,7 +564,7 @@ Django includes four validators:
Validates whether the password is not entirely numeric.
Integrating validation
------------------------
+----------------------
There are a few functions in ``django.contrib.auth.password_validation`` that
you can call from your own forms or other code to integrate password
diff --git a/docs/topics/pagination.txt b/docs/topics/pagination.txt
index 9f08996ebb..5bbe78f516 100644
--- a/docs/topics/pagination.txt
+++ b/docs/topics/pagination.txt
@@ -77,7 +77,7 @@ page::
.. _using-paginator-in-view:
Using ``Paginator`` in a view
-==============================
+=============================
Here's a slightly more complex example using :class:`Paginator` in a view to
paginate a queryset. We give both the view and the accompanying template to