There are some useful commands in the django extension,
1. Validate templates. We should execute this command line when build project as auto test.
python manage.py validate_templates
2. Check your SQL
python manage.py shell_plus --print-sql
3. Your database schema. Need to install c++.
python manage.py graph_models -a -o myapp_models.png
No comments:
Post a Comment