What’s Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design. Built by experienced developers, it takes care of much of the hassle of Web development, so you can focus on writing your app without needing to reinvent the wheel. It’s free and open source.
How to Get Django
Start from here, the latest official version is 3.2.3 (LTS). Read the 3.2.3 release notes, then install it with pip:
pip install Django==3.2.3
The 1st Example
$ cd ~/workspace/
$ django-admin.py startproject testdj
$ cd testdj
$ python manage.py runserver
Now, you can check your webpage @ http://127.0.0.1:8000/
Reference
- Django 教程
- xxx