app is in a Docker container, but the database it is posting to, PostgreSQL, is not in a container. Problem is that when I fill a form and submit, the data is not sent to PostgreSQL. But I also don't get an error, which makes me think it is defaulting to SQLite. How can I make the form data be submitted to PoatgreSQL? Any pointers shall be appreciated.
The connection string should be a dns name or ip address. The docker container may need another network to be on the same subnet or have its main network on the same subnet. As long as ports are open and accessible, nothing else should be needed.
Is django really falling back to sqlite in case of main db not being available?
Обсуждают сегодня