1
0
mirror of https://github.com/django/django.git synced 2025-06-05 11:39:13 +00:00

Fixed #20159 -- Mispelled attribute in multi-db documentation example.

Thanks to sane4ka.sh at gmail for the report!
This commit is contained in:
Simon Charette 2013-03-29 14:16:30 -04:00
parent 83f182da66
commit 6293eaa062

View File

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