In a Django project, executing manage.py sql APPNAME
prints out the schema of the models.
But how can this be done when the models and views have been separated into several *_models.py
and *_views.py
?
I'm developing a flat, one page application that relies quite a bit on javascript for event manipulation and handling. To facilitate separation of concerns, I split out the model and view files into auth_*
, dashboard_*
and taxonomy_*
files. How can I get the model schema for these files?