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
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