1 2 3 4 5 ··· 24 下一页
摘要: 第一个视图 from django.shortcuts import render from django.http import HttpResponse # Create your views here. def hello(request): msg = 'Hello World!!!' re 阅读全文
posted @ 2025-03-22 19:33 NiceTwocu 阅读(17) 评论(0) 推荐(0)
摘要: 在pycharm中运行以下代码 python manage.py startapp teslaapp 运行后呢会在目录中在创建一个名字叫teslaapp的包 接着我们还需要在项目Tesla包中的setting文件中 添加我们刚创建的app名称 阅读全文
posted @ 2025-03-22 11:34 NiceTwocu 阅读(15) 评论(0) 推荐(0)
摘要: 由于自己不是专业的设计师,就自己简单画个UI界面,那么就可以用到下面的低代码平台 http://120.92.142.115:81/vform3/ 里面可以选择体验vue3模板 进入下面图中的设计界面 可以自己拖动组件 修改组件展示给用户的标签名称 以及数据传输时发送的字段名称 可以设置是否必填 默 阅读全文
posted @ 2025-03-22 11:30 NiceTwocu 阅读(38) 评论(0) 推荐(0)
摘要: 在pyproject.toml 文件中配置以下命令 进行管理项目 [project] name = "Tesla" version = "0.1.0" description = "Default template for PDM package" authors = [ { name = "", 阅读全文
posted @ 2025-03-19 23:36 NiceTwocu 阅读(24) 评论(0) 推荐(0)
摘要: 启动Django项目 一、在pycharm项目中创建pycharm项目名称和虚拟环境 二、在pycharm终端命令行中运行 pip install pdm 三、运行以下命令对项目初始化创建pdm项目 pdm init 根据自己需要配置项目名称 作者 版本等信息 四、运行以下命令添加项目的Django 阅读全文
posted @ 2025-03-19 23:10 NiceTwocu 阅读(28) 评论(0) 推荐(0)
摘要: 安装fastapi pip install fastapi 再执行 pip install Uvicorn 安装 导入模块包 import uvicorn from fastapi import FastAPI #创建项目对象 app = FastAPI() # 通过装饰器#app.来标识请求方式, 阅读全文
posted @ 2024-06-08 00:17 NiceTwocu 阅读(222) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!--引入bootstrap.css样式--> <link rel="stylesheet" href="static/plugi 阅读全文
posted @ 2024-06-06 17:44 NiceTwocu 阅读(36) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <link rel="stylesheet" href="static/plugins/bootstrap-3.4.1/css/bo 阅读全文
posted @ 2024-06-05 17:59 NiceTwocu 阅读(23) 评论(0) 推荐(0)
摘要: 官方文档 https://v3.bootcss.com/ <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> <!-- 开发版本--> <link rel="stylesheet" h 阅读全文
posted @ 2024-06-05 17:24 NiceTwocu 阅读(8) 评论(0) 推荐(0)
该文被密码保护。 阅读全文
posted @ 2024-05-14 00:30 NiceTwocu 阅读(0) 评论(0) 推荐(0)
1 2 3 4 5 ··· 24 下一页