summaryrefslogtreecommitdiff
path: root/website/migrations
diff options
context:
space:
mode:
authorAkshen2018-10-31 11:13:21 +0530
committerAkshen2018-10-31 11:13:21 +0530
commit529c9b63bfe2ee7d6fe1667bf5c09a0b23ac374f (patch)
tree87f5099735d814f89831d91b606f038e02468471 /website/migrations
parent7d171e9b3dfdf6119f719ae7283add795bd1ec6c (diff)
downloadnccps-2018-529c9b63bfe2ee7d6fe1667bf5c09a0b23ac374f.tar.gz
nccps-2018-529c9b63bfe2ee7d6fe1667bf5c09a0b23ac374f.tar.bz2
nccps-2018-529c9b63bfe2ee7d6fe1667bf5c09a0b23ac374f.zip
Allow participants to view and download solutions
- view correct answers - download all dwsim files - remove 10 marks week
Diffstat (limited to 'website/migrations')
-rw-r--r--website/migrations/0005_uploadmodel.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/website/migrations/0005_uploadmodel.py b/website/migrations/0005_uploadmodel.py
new file mode 100644
index 0000000..a357f95
--- /dev/null
+++ b/website/migrations/0005_uploadmodel.py
@@ -0,0 +1,22 @@
+# Generated by Django 2.1 on 2018-10-31 05:40
+
+from django.db import migrations, models
+import django.db.models.deletion
+
+
+class Migration(migrations.Migration):
+
+ dependencies = [
+ ('website', '0004_auto_20181012_0951'),
+ ]
+
+ operations = [
+ migrations.CreateModel(
+ name='UploadModel',
+ fields=[
+ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
+ ('model_file', models.FileField(upload_to='uploads/')),
+ ('question', models.ForeignKey(blank=True, on_delete=django.db.models.deletion.CASCADE, to='website.Question')),
+ ],
+ ),
+ ]