We'll also output what web development beginners have learned about Django Extensions.
As the name implies, a module that extends the functionality of Django. It includes many functions such as ** command ** management and ** administrator function ** extension.
We will summarize additional commands that can be used and some of their functions.
graph_models
$ python manage.py graph_models -a -o myapp_models.png
You can generate and view a graph of the application model with graphviz
.
show_urls
$ python manage.py show_urls
Generate a list of (url_pattern, view_function, name) for your project.
validate_templates
$ python manage.py validate_templates
Check the template for rendering errors.
shell_plus
$ python manage.py shell_plus
Launch the enhanced Django shell.
$ python manage.py runserver_plus
Launch the enhanced Django run server.
I found it very convenient to capture the application model ** visually **. Currently, I have a Django application at hand, so I couldn't actually run it, but I think I'll make it soon, so I'll actively use it in that case.
Recommended Posts