Opened 6 years ago

Closed 6 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: master
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


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 Changed 6 years ago by Simon Charette

Owner: changed from nobody to Simon Charette
Status: newassigned
Triage Stage: UnreviewedAccepted

comment:2 Changed 6 years ago by Simon Charette <charette.s@…>

Resolution: fixed
Status: assignedclosed

In 6293eaa062db473a208c782f0e419314152a071e:

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

Thanks to at gmail for the report!

Note: See TracTickets for help on using tickets.
Back to Top