1
0
mirror of https://github.com/django/django.git synced 2025-03-29 10:40:45 +00:00

Removed extra characters in docs header underlines.

This commit is contained in:
Mariusz Felisiak 2019-02-08 21:38:30 +01:00 committed by GitHub
parent 22aab8662f
commit 25829197bb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 9 additions and 9 deletions

@ -692,7 +692,7 @@ existing conversion code::
return self.get_prep_value(value) return self.get_prep_value(value)
Some general advice Some general advice
-------------------- -------------------
Writing a custom field can be a tricky process, particularly if you're doing Writing a custom field can be a tricky process, particularly if you're doing
complex conversions between your Python types and your database and 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. ``attr_class`` attribute of the ``FileField`` subclass.
A few suggestions A few suggestions
------------------ -----------------
In addition to the above details, there are a few guidelines which can greatly In addition to the above details, there are a few guidelines which can greatly
improve the efficiency and readability of the field's code. improve the efficiency and readability of the field's code.

@ -413,7 +413,7 @@ template (or templates) you would change it in ``polls/urls.py``::
... ...
Namespacing URL names Namespacing URL names
====================== =====================
The tutorial project has just one app, ``polls``. In real Django projects, 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 there might be five, ten, twenty apps or more. How does Django differentiate

@ -839,7 +839,7 @@ Example of a full DSN string::
), ),
Threaded option Threaded option
---------------- ---------------
If you plan to run Django in a multithreaded environment (e.g. Apache using the 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 default MPM module on any modern operating system), then you **must** set

@ -298,7 +298,7 @@ Old (0.96) New (1.0)
===================== ===================== ===================== =====================
Work with file fields using the new API Work with file fields using the new API
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The internal implementation of :class:`django.db.models.FileField` have changed. 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, 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 :meth:`django.test.Client.login` has changed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Old (0.96):: Old (0.96)::

@ -267,7 +267,7 @@ A few notable improvements have been made to the :doc:`testing framework
</topics/testing/index>`. </topics/testing/index>`.
Test performance improvements Test performance improvements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. currentmodule:: django.test .. currentmodule:: django.test

@ -535,7 +535,7 @@ Django includes four validators:
Validates whether the password is not entirely numeric. Validates whether the password is not entirely numeric.
Integrating validation Integrating validation
----------------------- ----------------------
There are a few functions in ``django.contrib.auth.password_validation`` that 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 you can call from your own forms or other code to integrate password

@ -77,7 +77,7 @@ page::
.. _using-paginator-in-view: .. _using-paginator-in-view:
Using ``Paginator`` in a view Using ``Paginator`` in a view
============================== =============================
Here's a slightly more complex example using :class:`Paginator` in a view to 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 paginate a queryset. We give both the view and the accompanying template to