Fixed #12426 -- Corrected typo in multi-db docs. Thanks to btbytes for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@11972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
e1f6b4b82f
commit
c8f22aef23
|
@ -166,7 +166,7 @@ specific database. So, if you want to load an object using it's
|
||||||
natural key (using the ``get_by_natural_key()`` method on the manager,
|
natural key (using the ``get_by_natural_key()`` method on the manager,
|
||||||
you can call::
|
you can call::
|
||||||
|
|
||||||
>>> Book.objects.db_mamanger("other").get_by_natural_key(...)
|
>>> Book.objects.db_manager("other").get_by_natural_key(...)
|
||||||
|
|
||||||
If you are overriding ``get_query_set()`` on your manager you must be sure to
|
If you are overriding ``get_query_set()`` on your manager you must be sure to
|
||||||
either, call the method on the parent (using ``super()``), or do the
|
either, call the method on the parent (using ``super()``), or do the
|
||||||
|
|
Loading…
Reference in New Issue