mirror of https://github.com/django/django.git
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
This commit is contained in:
parent
1b7fcf4758
commit
20fb7c7858
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue