How to use .db file in django for getting data?

Viewed 101

I have a .db file from sqLite3.I want to use it in django project. With inspectdb, I created model from this db file. But I want to get data from this .db file. Is that possible ? And how can I retrieve data from db file ? Thanks.

Inspectdb only create model.py ,not retrieve data.

1 Answers
  1. create the Django project.
  2. Make migrations with similar schema
  3. replace the new DB file with this one.
Related