Prechádzať zdrojové kódy

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
Russell Keith-Magee 15 rokov pred
rodič
commit
c8f22aef23
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      docs/topics/db/multi-db.txt

+ 1 - 1
docs/topics/db/multi-db.txt

@@ -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,
 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
 either, call the method on the parent (using ``super()``), or do the