From 9a068dde78fe8c77387234667f2fd2c86847576a Mon Sep 17 00:00:00 2001 From: Bertrand Bordage Date: Thu, 18 Jul 2013 18:32:41 +0200 Subject: [PATCH] Doc typos. --- docs/advanced.rst | 4 ++-- docs/index.rst | 4 ++-- docs/managers.rst | 2 -- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 2d24159..044d3d4 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -99,7 +99,7 @@ model as the root of a polymorphic inheritance tree:: from thirdparty import ThirdPartyModel - class MyThirdPartyBaseModel(PolymorhpicModel, ThirdPartyModel): + class MyThirdPartyBaseModel(PolymorphicModel, ThirdPartyModel): pass # or add fields Or instead integrating the third party model anywhere into an @@ -181,7 +181,7 @@ Using enhanced Q-objects in any Places -------------------------------------- The queryset enhancements (e.g. ``instance_of``) only work as arguments -to the member functions of a polymorphic queryset. Occationally it may +to the member functions of a polymorphic queryset. Occasionally it may be useful to be able to use Q objects with these enhancements in other places. As Django doesn't understand these enhanced Q objects, you need to transform them manually into normal Q objects before you can feed them diff --git a/docs/index.rst b/docs/index.rst index f1fe11a..e07be4c 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -27,7 +27,7 @@ Using vanilla Django, we get the base class objects, which is rarely what we wan Features -------- -* Full admin integation. +* Full admin integration. * ORM integration: * support for ForeignKey, ManyToManyField, OneToOneField descriptors. @@ -37,7 +37,7 @@ Features * Combining querysets of different models (``qs3 = qs1 | qs2``) * Support for custom user-defined managers. -* Uses the minumum amount of queries needed to fetch the inherited models. +* Uses the minimum amount of queries needed to fetch the inherited models. * Disabling polymorphic behavior when needed. diff --git a/docs/managers.rst b/docs/managers.rst index c7c6beb..8ab35b0 100644 --- a/docs/managers.rst +++ b/docs/managers.rst @@ -1,5 +1,3 @@ - - Custom Managers, Querysets & Manager Inheritance ================================================