Opened 12 years ago
Closed 12 years ago
#20159 closed Cleanup/optimization (fixed)
misspeled attribute in example in Multiple databases doc section.
Reported by: | Owned by: | Simon Charette | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | yes | UI/UX: | no |
Description
Misspelled non-public '_state' attribute of obj1 and obj2 in allow_relation method of class MasterSlaveRouter (example for Using routers section)
Should be
if obj1._state.db in db_list and obj2._state.db in db_list:
instead of
if obj1.state.db in db_list and obj2.state.db in db_list:
Change History (2)
comment:1 by , 12 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Triage Stage: | Unreviewed → Accepted |
comment:2 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
In 6293eaa062db473a208c782f0e419314152a071e: