Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f6f0f52

Browse files
committed
[2.0.x] Removed extra characters in docs header underlines.
Backport of 2582919 from master
1 parent cfadb0e commit f6f0f52

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

docs/howto/custom-model-fields.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ existing conversion code::
692692
return self.get_prep_value(value)
693693

694694
Some general advice
695-
--------------------
695+
-------------------
696696

697697
Writing a custom field can be a tricky process, particularly if you're doing
698698
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
731731
``attr_class`` attribute of the ``FileField`` subclass.
732732

733733
A few suggestions
734-
------------------
734+
-----------------
735735

736736
In addition to the above details, there are a few guidelines which can greatly
737737
improve the efficiency and readability of the field's code.

docs/intro/tutorial03.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ template (or templates) you would change it in ``polls/urls.py``::
413413
...
414414

415415
Namespacing URL names
416-
======================
416+
=====================
417417

418418
The tutorial project has just one app, ``polls``. In real Django projects,
419419
there might be five, ten, twenty apps or more. How does Django differentiate

docs/ref/databases.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -835,7 +835,7 @@ both as empty strings. Django will use a different connect descriptor depending
835835
on that choice.
836836

837837
Threaded option
838-
----------------
838+
---------------
839839

840840
If you plan to run Django in a multithreaded environment (e.g. Apache using the
841841
default MPM module on any modern operating system), then you **must** set

docs/releases/1.0-porting-guide.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ Old (0.96) New (1.0)
298298
===================== =====================
299299

300300
Work with file fields using the new API
301-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
301+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
302302

303303
The internal implementation of :class:`django.db.models.FileField` have changed.
304304
A visible result of this is that the way you access special attributes (URL,
@@ -644,7 +644,7 @@ Testing
644644
-------
645645

646646
:meth:`django.test.Client.login` has changed
647-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
647+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
648648

649649
Old (0.96)::
650650

docs/releases/1.1.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ A few notable improvements have been made to the :doc:`testing framework
267267
</topics/testing/index>`.
268268

269269
Test performance improvements
270-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
270+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
271271

272272
.. currentmodule:: django.test
273273

docs/topics/auth/passwords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ Django includes four validators:
564564
Validates whether the password is not entirely numeric.
565565

566566
Integrating validation
567-
-----------------------
567+
----------------------
568568

569569
There are a few functions in ``django.contrib.auth.password_validation`` that
570570
you can call from your own forms or other code to integrate password

docs/topics/pagination.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ page::
7777
.. _using-paginator-in-view:
7878

7979
Using ``Paginator`` in a view
80-
==============================
80+
=============================
8181

8282
Here's a slightly more complex example using :class:`Paginator` in a view to
8383
paginate a queryset. We give both the view and the accompanying template to

0 commit comments

Comments
 (0)