mirror of https://github.com/django/django.git
Fixed #20159 -- Mispelled attribute in multi-db documentation example.
Thanks to sane4ka.sh at gmail for the report!
This commit is contained in:
parent
83f182da66
commit
6293eaa062
|
@ -324,7 +324,7 @@ from::
|
||||||
in the master/slave pool.
|
in the master/slave pool.
|
||||||
"""
|
"""
|
||||||
db_list = ('master', 'slave1', 'slave2')
|
db_list = ('master', 'slave1', 'slave2')
|
||||||
if obj1.state.db in db_list and obj2.state.db in db_list:
|
if obj1._state.db in db_list and obj2._state.db in db_list:
|
||||||
return True
|
return True
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue