# Generated by Django 2.1 on 2020-07-29 17:44
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
('account', '0001_initial'),
('business', '0001_initial'),
]
operations = [
migrations.CreateModel(
name='BankInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(help_text='题库名称', max_length=20)),
('choices', models.CharField(help_text='选择题数', max_length=5)),
('gaps', models.CharField(help_text='填空题数', max_length=5)),
('judges', models.CharField(help_text='判断题数', max_length=5)),
('num', models.CharField(help_text='此试卷使用次数', max_length=5)),
('popnum', models.CharField(help_text='总答题人数', max_length=5)),
('course_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='business.Course', verbose_name='所属分类')),
],
),
migrations.CreateModel(
name='choice',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('issue', models.CharField(help_text='题目内容', max_length=200)),
('result', models.CharField(help_text='题目答案', max_length=200)),
('A', models.CharField(help_text='选项内容', max_length=200)),
('B', models.CharField(help_text='选项内容', max_length=200)),
('C', models.CharField(help_text='选项内容', max_length=200)),
('D', models.CharField(help_text='选项内容', max_length=200)),
('choice_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='competition.BankInfo', verbose_name='所属题库')),
],
),
migrations.CreateModel(
name='CourseDetailsInfo',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(help_text='比赛名称', max_length=20)),
('num', models.CharField(help_text='题目个数', max_length=3)),
('start_time', models.TimeField(auto_now_add=True, help_text='开始时间')),
('end_time', models.TimeField(auto_now_add=True, help_text='结束时间')),
('answer', models.TimeField(auto_now_add=True, help_text='答题时间')),
('total', models.CharField(help_text='总分', max_length=3)),
('partnum', models.CharField(help_text='参与人数', max_length=3)),
('details_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='competition.BankInfo', verbose_name='比赛分类')),
],
),
migrations.CreateModel(
name='gap',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('issue', models.CharField(help_text='题目内容', max_length=200)),
('result', models.CharField(help_text='题目答案', max_length=200)),
('true', models.CharField(help_text='选项内容', max_length=200)),
('false', models.CharField(help_text='选项内容', max_length=200)),
('gap_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='competition.BankInfo', verbose_name='所属题库')),
],
),
migrations.CreateModel(
name='judge',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('issue', models.CharField(help_text='题目内容', max_length=200)),
('result', models.CharField(help_text='题目答案', max_length=200)),
('judge_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='competition.BankInfo', verbose_name='所属题库')),
],
),
migrations.CreateModel(
name='record',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('state', models.IntegerField(choices=[(1, '未完成'), (2, '已完成'), (3, '超时')], help_text='答题状态')),
('issue_record', models.TextField(help_text='题目记录')),
('result_record', models.TextField(help_text='回答记录')),
('start_time', models.TimeField(auto_now_add=True, help_text='开始时间')),
('end_time', models.TimeField(auto_now_add=True, help_text='结束时间')),
('answer', models.TimeField(auto_now_add=True, help_text='用时')),
('true_num', models.CharField(help_text='正确数', max_length=3)),
('false_num', models.CharField(help_text='错误数', max_length=3)),
('goal', models.CharField(help_text='得分', max_length=3)),
('record_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='competition.BankInfo', verbose_name='所属题库')),
('user_id', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='account.UserInfo', verbose_name='所属用户')),
],
),
]
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
项目工程资源经过严格测试可直接运行成功且功能正常的情况才上传,可轻松copy复刻,拿到资料包后可轻松复现出一样的项目,本人系统开发经验充足(全栈开发),有任何使用问题欢迎随时与我联系,我会及时为您解惑,提供帮助 【资源内容】:项目具体内容可查看/点击本页面下方的*资源详情*,包含完整源码+工程文件+说明(若有)等。【若无VIP,此资源可私信获取】 【本人专注IT领域】:有任何使用问题欢迎随时与我联系,我会及时解答,第一时间为您提供帮助 【附带帮助】:若还需要相关开发工具、学习资料等,我会提供帮助,提供资料,鼓励学习进步 【适合场景】:相关项目设计中,皆可应用在项目开发、毕业设计、课程设计、期末/期中/大作业、工程实训、大创等学科竞赛比赛、初期项目立项、学习/练手等方面中 可借鉴此优质项目实现复刻,也可基于此项目来扩展开发出更多功能 #注 1. 本资源仅用于开源学习和技术交流。不可商用等,一切后果由使用者承担 2. 部分字体及插图等来自网络,若是侵权请联系删除,本人不对所涉及的版权问题或内容负法律责任。收取的费用仅用于整理和收集资料耗费时间的酬劳 3. 积分类资源不提供使用问题指导/解答
资源推荐
资源详情
资源评论
收起资源包目录
Django+Bootstrap+Mysql及Redis实现智慧星考试系统.zip (124个子文件)
style.css 179KB
bootstrap.min.css 118KB
base.css 937B
wxloginext.css 145B
index.css 135B
glyphicons-halflings-regular.eot 20KB
.gitignore 26B
game.html 22KB
base.html 20KB
game.html 15KB
index.html 7KB
index.html 6KB
result.html 5KB
index.html 4KB
rank.html 4KB
result.html 4KB
bank.html 4KB
games.html 2KB
sign_email.html 2KB
index.html 2KB
index.html 1KB
donate.html 989B
contact_us.html 743B
err.html 706B
search.html 508B
quizz.html 415B
jbt1.jpg 117KB
3.jpg 93KB
2.jpg 54KB
图片损坏.jpg 48KB
union-bg06.jpg 38KB
form-bg.jpg 38KB
1.jpg 30KB
steve.jpg 22KB
course-h1.jpg 17KB
teston-top.jpg 2KB
position.jpg 1KB
jquery.min.js 82KB
bootstrap.min.js 36KB
csrf.js 2KB
currentTime.js 683B
base.js 0B
index4.PNG 1.39MB
index1.png 932KB
index.png 922KB
导航栏样式 3.png 825KB
home_banner.png 816KB
404.png 434KB
banner1.png 141KB
banner2.png 92KB
banner4.png 85KB
background.png 82KB
no-bs.png 63KB
banner3.png 35KB
logo.png 20KB
upload_icon.png 11KB
download_icon.png 10KB
layout-icon4.png 9KB
layout-icon2.png 8KB
select_icon.png 8KB
layout-icon3.png 8KB
slide2.png 8KB
layout-icon1.png 7KB
edit_icon.png 6KB
slide3.png 6KB
slide1.png 6KB
bs6.png 3KB
login.png 2KB
bs2.png 2KB
bs5.png 2KB
bs4.png 2KB
bs3.png 1KB
bs1.png 1KB
person.png 1KB
right_arrow.png 723B
icon1.png 455B
icon2.png 408B
icon5.png 394B
icon3.png 344B
icon4.png 276B
0001_initial.py 6KB
models.py 4KB
settings.py 3KB
0001_initial.py 2KB
0001_initial.py 2KB
models.py 2KB
models.py 1KB
urls.py 746B
manage.py 624B
wsgi.py 385B
apps.py 102B
apps.py 96B
apps.py 94B
admin.py 63B
views.py 63B
admin.py 63B
views.py 63B
admin.py 63B
views.py 63B
tests.py 60B
共 124 条
- 1
- 2
资源评论
专家大圣
- 粉丝: 2099
- 资源: 7863
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Python函数与异常处理及用户注册系统实现(包含详细的完整的程序和数据)
- 图神经网络(GNN)在Python中的实现教程(包含详细的完整的程序和数据)
- ftrace-kernel-hooks-2014.pdf
- Python中常用机器学习与深度学习库的总结及房价预测应用(包含详细的完整的程序和数据)
- 地形图中的符号替换 可以多提宝贵意见
- 基于PyTorch的强化学习策略梯度算法实现及CartPole环境应用(包含详细的完整的程序和数据)
- CODESYS的CNC运动控制可视化轨迹3DPath仿真
- 遗传算法的Python实现与函数优化应用(包含详细的完整的程序和数据)
- Encrypt/Decrypt加密解密工具
- OpenCV图像处理基础知识与实战项目(包含详细的完整的程序和数据)
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功