Opened 6 years ago

Last modified 6 years ago

#29566 closed Bug

Error On Multiple Django Databases — at Initial Version

Reported by: Romeo Dancil Owned by: nobody
Component: Database layer (models, ORM) Version: 2.0
Severity: Normal Keywords: Multiple Database
Cc: Subhodeep Das Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: yes Patch needs improvement: yes
Easy pickings: no UI/UX: no

Description

I was trying to make my django connect to multiple database i follow this instruction here https://docs.djangoproject.com/en/2.0/topics/db/multi-db/ but i always keep on having this error below Using the routers that the documentation suggested.

TypeError: db_for_write() missing 1 required positional argument: 'model'

Everytime i try to migrate.

Can anyone help me with it.

Change History (0)

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