mirror of
https://github.com/django/django.git
synced 2025-08-04 02:48:35 +00:00
Fixed spelling mistakes in docs.
This commit is contained in:
parent
8137215973
commit
1f5f015c32
20 changed files with 27 additions and 28 deletions
|
@ -219,7 +219,7 @@ processing to work on a particular object, identified from the URL,
|
|||
we'll want the functionality provided by
|
||||
:class:`~django.views.generic.detail.SingleObjectMixin`.
|
||||
|
||||
We'll demonstrate this with the publisher modelling we used in the
|
||||
We'll demonstrate this with the publisher modeling we used in the
|
||||
:doc:`generic class-based views introduction<generic-display>`.
|
||||
|
||||
.. code-block:: python
|
||||
|
|
|
@ -588,8 +588,8 @@ The ``manage_articles.html`` template might look like this:
|
|||
</table>
|
||||
</form>
|
||||
|
||||
However the above can be slightly shortcutted and let the formset itself deal
|
||||
with the management form:
|
||||
However there's a slight shortcut for the above by letting the formset itself
|
||||
deal with the management form:
|
||||
|
||||
.. code-block:: html+django
|
||||
|
||||
|
|
|
@ -442,7 +442,7 @@ available at the top level of a module it is not serializable.
|
|||
``kwargs`` should be a dict of keyword arguments to pass to your class'
|
||||
``__init__`` method. Every value should itself be serializable.
|
||||
|
||||
Django will write out the value as an instatiation of your class with the
|
||||
Django will write out the value as an instantiation of your class with the
|
||||
given arguments, similar to the way it writes out references to Django fields.
|
||||
|
||||
|
||||
|
|
|
@ -354,7 +354,7 @@ Attributes
|
|||
the individual tests and format the results. By default it is set to
|
||||
``unittest.TextTestRunner``. Despite the unfortunate similarity in
|
||||
naming conventions, this is not the same type of class as
|
||||
``DiscoverRunner``, which covers a broader set of responsibilites. You
|
||||
``DiscoverRunner``, which covers a broader set of responsibilities. You
|
||||
can override this attribute to modify the way tests are run and reported.
|
||||
|
||||
.. attribute:: DiscoverRunner.test_loader
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue