Skip to content Skip to sidebar Skip to footer

Configure Django Database Routers

I am trying to connect a new Django site to legacy DBs. From everything I can gather I need to create a database router. The docs refer to creating an app_label in the meta section

Solution 1:

SO I got it. If anyone else is running into this problem with multiple dbs it is an ordering issue. You need to change the second return frrom 'default' to 'None'


Post a Comment for "Configure Django Database Routers"