Relative Content

Tag Archive for djangoflask

Separate database for each user in web app

I’m creating a web app. I need to give each user a separate database. I know this isn’t seen as a great practice and a single database is usually used in these scenarios, but for this project this is the way it needs to be. I have a current working solution in Django. However, my current solution means that if the customer was ever to delete one of their users and add a new one I would have to rebuild and deploy the project to them. Also to clarify, the web app will be deployed on a per customer basis on their own server so this isn’t really a multitenant solution I’m looking for. Would this be easier in flask?