Become a member
Sign in
Is there an example somewhere of using both databases ?
1
Simply Seth
Boris Burkov
Boris Burkov
Aug 9, 2017 · 1 min read

Hi, Simply Seth!

Yes, this is mostly correct. You don’t even have to use 2 routers, can just use the default DRF router for everything (or use a custom Router, as I did). I don’t have a real-life example of co-existence of 2 databases, but in https://github.com/BurkovBA/django-rest-framework-mongoengine-example technically MongoDB coexists with SQLite.

Cheers!

    Boris Burkov

    Written by

    Boris Burkov

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal