takes into consideration Django routers for selecting the database when importing the data