l init.py:是一个空文件,作用是这个目录可以被当作包使用 l settings.py:是项目的整体配置文件 l urls.py:是项目的URL配置文件 l wsgi.py:是项目与WSGI兼容的Web服务器入口 视图是指模块下的views.py文件,视图函数就是定义在views.py里面 视图的第一个参数是HttpRequest类型的 ...
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design and can easily be loaded on to a Raspberry Pi mini PC to offer a wealth of possibilities.
$python3 -V Python 3.11.0 $ pip3 -V pip 22.3.1 from /usr/lib/python3/dist-packages/pip (python 3.11) Next, install the Django framework and verify it is working, as ...