0
I developed a system with Python
and Django
. Now I would like to make it available on the web so that users can create accounts on the system, for this it would be necessary that each user has their database.
Today, to create my user I use the command python manage.py createsuperuser
and in the archive settings.py
specify the database I want to use.
I hosted my app on a server on DigitalOcean
and there I configured the system as I did locally, but now, how do I automate the creation of new users and that for each one manages its respective bank?
My system is product management, meaning every user will have their products, their customers, their sales, and so on. For all users the tables will be the same, so it is essential each user have their database
– Rafael