django development _001

1 Use a template to build a website (project called test_001)

1.1 Directory Structure

  Directory tree

  

 

1.2 configuration

1.2.1 test_001/test_001/settings.py

  Setting the template path

1.2.2 test_001/test_001/view.py

1.2.3 Database (using SQLite)

1.3 Tips

  In vim, use: 0, $ d to delete all the current text

  django time zone setting. Inside the setting, modification USE_TZ = False, and TIME_ZONE = 'Asia / Shanghai'

Guess you like

Origin www.cnblogs.com/sjs-footprint/p/12590582.html
001