1 request.path_info # 获取当前用户请求的url # http://127.0.0.1:8000/customer/list/ > /customer/list/ # http://127.0.0.1:8000/customer/list/?age=19 > /customer/ Read More
posted @ 2022-08-25 16:49 角角边 Views(29) Comments(0) Diggs(0) Edit
1 创建项目 参见nb博客:https://www.cnblogs.com/wupeiqi/articles/9178982.html 1 使用pycharm创建虚拟环境: 2 创建项目: pip install Django==3.2 django-admin startproject crm_p Read More
posted @ 2022-08-25 11:06 角角边 Views(56) Comments(0) Diggs(0) Edit