Opened 6 years ago
Last modified 6 years ago
#29566 closed Bug
Error On Multiple Django Databases — at Version 2
Reported by: | Romeo Dancil | Owned by: | Subhodeep Das |
---|---|---|---|
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 (last modified by )
I was trying to make my Django connect to multiple databases 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'
Every time I try to migrate.
Can anyone help me with it?
Change History (2)
comment:1 by , 6 years ago
Type: | Uncategorized → Bug |
---|
comment:2 by , 6 years ago
Cc: | added |
---|---|
Component: | Uncategorized → Database layer (models, ORM) |
Description: | modified (diff) |
Has patch: | set |
Needs tests: | set |
Owner: | changed from | to
Patch needs improvement: | set |
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.