Django from scratch (c)

First, configure the static files

  Refers to a static file in django project, create a directory statics, inside storage js and css, jquery and other documents, templates directory is created using pycharm project is generated automatically (or manually created) to store html files. It is static and achieve common WEB front-end functionality.

  

 

Second, the simple configuration of the routing control

Third, the routing control packet of the famous

Fourth, routing control of distribution

Fifth, the routing control of the reverse analysis

Sixth, the routing control of the namespace

Seven, path controller and method url custom converter

Guess you like

Origin www.cnblogs.com/alex2yang/p/11087065.html