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).
For now i'm setting the database settings in an .env file
Moved to the Content Services forum.
Many of us are fond of both Python and Django, but I think you've stumbled into the wrong place for your question. Alfresco is a Java based document management solution. It has nothing to do with Python or Django.
Maybe try someone over at https://www.djangoproject.com/
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.