浏览代码

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 年之前
父节点
当前提交
c8f22aef23
共有 1 个文件被更改,包括 1 次插入1 次删除
  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