How to use different database within same app in django?

How to use different database within same app in django?

I have a app named xyz and I have 2 views in that app view1.py and view2.py I have router configured as

I have a app named xyz and I have 2 views in that app view1.py and view2.py I have router configured as

if model._meta.app_label == 'xyz'
    return database1

Is there a way to select a different database from this app 'xyz'.

I mean two different database within same app.

Is there a way or does django allow this in first place

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

Python Django Tutorial | Django Course

🔥Intellipaat Django course: https://intellipaat.com/python-django-training/ 👉This Python Django tutorial will help you learn what is django web development &...

Django Database Migrations: A Comprehensive Overview

Django Database Migrations: A Comprehensive Overview *by Damian Hites* The Django web framework is designed to work with an SQL-based relational database backend, most commonly PostgreSQL or MySQL. If you’ve never worked directly with a...