[PYTHON] [Django-Extensions] Web development beginners tried to summarize Django-Extensions

Introduction

We'll also output what web development beginners have learned about Django Extensions.

What are 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.

Commands and features

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.

runserver_plus (Werkzeug also required)

$ python manage.py runserver_plus

Launch the enhanced Django run server.

Summary

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

[Django-Extensions] Web development beginners tried to summarize Django-Extensions
[Ipdb] Web development beginners tried to summarize debugging with Python
I tried to summarize SparseMatrix
python beginners tried to find out
I tried web application development and thought about how to prevent beginners from getting sick.
I tried to summarize Python exception handling
I tried to summarize the umask command
Python3 standard input I tried to summarize
I tried to summarize the graphical modeling.
I tried to make a Web API
I tried to summarize Ansible modules-Linux edition
I tried web scraping to analyze the lyrics.
Python beginners tried to code some energy drinks
New employee tried to develop Web service individually
LeetCode I tried to summarize the simple ones
python beginners tried to predict the number of criminals
I tried to summarize the basic form of GPLVM
I tried to summarize four neural network optimization methods
CTF beginner tried to build a problem server (web) [Problem]
I tried to summarize how to use pandas in python
I tried to summarize the string operations of Python
Introduction to Web Scraping
I tried to debug.
I tried to paste
I tried to summarize the languages that beginners should learn from now on by purpose
[First COTOHA API] I tried to summarize the old story
I tried to get Web information using "Requests" and "lxml"
I tried to summarize the commands often used in business
[Machine learning] I tried to summarize the theory of Adaboost
I tried to summarize SQLAlchemy briefly (There is also TIPS)
I tried to summarize how to use the EPEL repository again
[Flask] I tried to summarize the "docker-compose configuration" that can be created quickly for web applications
What non-programmers and web app development beginners should do to clear GeoDjango tutorials at explosive speed