1👍
You can pass the name of the table to do it.
python manage.py inspectdb table1
Or multiple tables
python manage.py inspectdb table1 table2
Here’s the the link to inspectdb documention for Django 4.0.
- [Answered ]-Intersection of QuerySet and list of objects
- [Answered ]-Django logging not working in production
Source:stackexchange.com