AnsweredAssumed Answered

How to use multiple(identical) databases in django. Or set them after open homepage.

Question asked by nicolas_zim on Apr 17, 2019

I need to set the database in an endpoint or before login, but i don't want set all the databases before in settings.py, because they have identical structure(and will be many databases to set).

  1. I think use local variable or set the database before an login, using endpoint, api or something like this would be a solution. 
  2. I am open to new ways to do it or an orientation to a solution. 

For now i'm setting the database settings in an .env file

Outcomes