瀏覽代碼

Fixed #13759 - Multi-db docs have an example that isn't syntax highlighting

Thanks to Tim Hatch for report and patch.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Luke Plant 14 年之前
父節點
當前提交
20fb7c7858
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/topics/db/multi-db.txt

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

@@ -238,7 +238,7 @@ master/slave relationship between the databases ``master``, ``slave1`` and
                 return False
             return None
 
-     class MasterSlaveRouter(object):
+    class MasterSlaveRouter(object):
         """A router that sets up a simple master/slave configuration"""
 
         def db_for_read(self, model, **hints):