Hello @kartik,
Python you can write your own custom command to do that. You may find the sqlclear option interesting. Documentation says that ./manage.py sqlclear Prints the DROP TABLE SQL statements for the given app name(s).
use:
./manage.py sqlclear | ./manage.py dbshell
Hope this helps!!
Thank You!!