I've the database backup script in python which card inserts some data in mysql database .

Now my Django is within different database.

How do i access different database because i haven't any objects in Models.py. i wish to display some data in django interface

Yes, you are able to setup multiple database and access each of them. you will get the required database connection cursor by using this:

from django.db import connections
cursor = connections['my_db_alias'].cursor()

where my_db_alias is the another db alias .

look into the doc: