DATABASES default and mssql

Please tell me.
Do you need to leave 1 default base in django and take data from the 2nd?
That’s right?
DATABASES = {
‘default’: {
‘ENGINE’: ‘django.db.backends.sqlite3’,
‘NAME’: BASE_DIR / ‘db.sqlite3’,
},
‘datasql’: {
‘ENGINE’: ‘Driver = {SQL Server}’,
‘NAME’: ‘test’,
‘USER’: ‘test’,
‘PASSWORD’: ‘test12345678’,
‘HOST’: ‘172.168.21.13’,
‘PORT’: ‘5432’,
}
}

How to contact the 2nd database to collect data?

Django has a nice documentation article on working with multiple databases, especially the part on db_for_read and routers.
https://docs.djangoproject.com/en/3.1/topics/db/multi-db/

To add to @marcorichetta’s reply and to answer your first question; No, you do not need to use multiple databases. If you’re building an application that is self-contained and does not need to access external data, then it’s ok to use the same database for both Django’s internal requirements and your data.