1
0
mirror of https://github.com/django/django.git synced 2025-07-04 01:39:20 +00:00

[1.2.X] Fixed #13759 - Multi-db docs have an example that isn't syntax highlighting

Thanks to Tim Hatch for report and patch.

Backport of [13664] from trunk


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.2.X@13665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Luke Plant 2010-08-30 10:27:08 +00:00
parent 6fbd860fa8
commit dde1f13315

View File

@ -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):