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
#python #django #database