#29566: Error On Multiple Django Databases
-------------------------------------+-------------------------------------
Reporter: Romeo Dancil | Owner: Subhodeep
| Das
Type: Bug | Status: assigned
Component: Database layer | Version: 2.0
(models, ORM) |
Severity: Normal | Resolution:
Keywords: Multiple Database | Triage Stage:
| Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 1 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Subhodeep Das):
* status: new => assigned
* cc: Subhodeep Das (added)
* needs_better_patch: 0 => 1
* component: Uncategorized => Database layer (models, ORM)
* needs_tests: 0 => 1
* owner: nobody => Subhodeep Das
* has_patch: 0 => 1
Old 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.
New description:
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?
--
--
Ticket URL: <https://code.djangoproject.com/ticket/29566#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/069.68491ba7d7cfdc7d4b28a4b4219bf078%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.