How to use multiple(identical) databases in django. Or set them after open homepage.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-17-2019 05:00 PM
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).
- I think use local variable or set the database before an login, using endpoint, api or something like this would be a solution.
- 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
- Labels:
-
Alfresco Content Services
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2019 09:04 AM
Moved to the Content Services forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2019 10:31 AM
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/
