You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
xtu202105570219 1a1117c6a2
Update config.py
2 years ago
.idea Initial commit 2 years ago
lib Initial commit 2 years ago
migrations Initial commit 2 years ago
static Initial commit 2 years ago
templates Initial commit 2 years ago
app.py Initial commit 2 years ago
config.py Update config.py 2 years ago
decorators.py Initial commit 2 years ago
exts.py Initial commit 2 years ago
forms.py Initial commit 2 years ago
models.py Initial commit 2 years ago
readme.txt Initial commit 2 years ago

readme.txt

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

V1.1 modify by jxy
1.添加了注册,登录功能,且与数据库连接上了,与数据库连接详见config.py
2.添加了有关数据库表的创建以及相关表的操作的代码注释
3.添加了register.html以及register.js
4.修改了login.html将部分代码移植到了register.html中去除了login.js的使用(原因:email是key而username可能重复,所以提交form是将username改成了email)
问题
1.还要在login.html和login.js中加入从/login跳转到/register的功能

V1.2 by ktp
1.修改了数据库结构
2.添加了一段关于收藏视频页面的代码(注释部分)

V1.3 modify by jxy
1.重构了底层代码已弃用原来的网页cookie以及g.user在resources.html的使用改用本地的session(cookie还是有只不过没用)
2.与HJ的代码进行了整合
3.加入从/login跳转到/register的功能
4.修改了V1.2的英语单词拼写错误以及部分表
计划:
1.用户登录后可以上传视频(video_url,以及pic_url)