[3.0.x] Corrected some typos in documentation.

Backport of 70d95682b1 from master
This commit is contained in:
Hasan Ramezani 2019-12-18 11:36:27 +01:00 committed by Carlton Gibson
parent efd9302b14
commit fb260ad777
3 changed files with 3 additions and 3 deletions

View File

@ -24,7 +24,7 @@ Basic examples
Django provides base view classes which will suit a wide range of applications. Django provides base view classes which will suit a wide range of applications.
All views inherit from the :class:`~django.views.generic.base.View` class, which All views inherit from the :class:`~django.views.generic.base.View` class, which
handles linking the view in to the URLs, HTTP method dispatching and other handles linking the view into the URLs, HTTP method dispatching and other
common features. :class:`~django.views.generic.base.RedirectView` provides a common features. :class:`~django.views.generic.base.RedirectView` provides a
HTTP redirect, and :class:`~django.views.generic.base.TemplateView` extends the HTTP redirect, and :class:`~django.views.generic.base.TemplateView` extends the
base class to make it also render a template. base class to make it also render a template.

View File

@ -86,7 +86,7 @@ Get things right from the start
------------------------------- -------------------------------
Some work in optimization involves tackling performance shortcomings, but some Some work in optimization involves tackling performance shortcomings, but some
of the work can be built in to what you'd do anyway, as part of the good of the work can be built-in to what you'd do anyway, as part of the good
practices you should adopt even before you start thinking about improving practices you should adopt even before you start thinking about improving
performance. performance.

View File

@ -21,7 +21,7 @@ inspect your application's output and generally verify your code is doing what
it should be doing. it should be doing.
The preferred way to write tests in Django is using the :mod:`unittest` module The preferred way to write tests in Django is using the :mod:`unittest` module
built in to the Python standard library. This is covered in detail in the built-in to the Python standard library. This is covered in detail in the
:doc:`overview` document. :doc:`overview` document.
You can also use any *other* Python test framework; Django provides an API and You can also use any *other* Python test framework; Django provides an API and