From 529c9b63bfe2ee7d6fe1667bf5c09a0b23ac374f Mon Sep 17 00:00:00 2001 From: Akshen Date: Wed, 31 Oct 2018 11:13:21 +0530 Subject: Allow participants to view and download solutions - view correct answers - download all dwsim files - remove 10 marks week --- website/migrations/0005_uploadmodel.py | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 website/migrations/0005_uploadmodel.py (limited to 'website/migrations') 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')), + ], + ), + ] -- cgit