urlpatterns=[ path('articles/2003/',view.special_case_2003), path('articles/<int:year>/',view.year), # view.year(request,year) ]
- 工程建立后将工程名大写,防止产生包冲突
- 菜鸟教程
- 后端完成
pip install django
django-admin startproject HelloWorld
python manage.py runserver 127.0.0.1:8000
- 安装anaconda
- 依赖django
- 启动python manage.py runserver 127.0.0.1:8000