Pycharm creates code blocks to improve work efficiency

1. Open the settings, Mac is called Preferences, windows is settings.

2. Follow the steps 

 

 

The place that needs to be modified in the middle is surrounded by two $ signs. Note that if the name is the same, the filling code in one place will also change in the other place.

 

Very simple demonstration, 

Press enter

 

Mine is used to create Django sub-application url 

Guess you like

Origin blog.csdn.net/zhang_8626/article/details/106806774