-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Section added for materials in the assignments
- Loading branch information
Showing
14 changed files
with
177 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
vreapis/assignments/migrations/0010_assignment_enrolled_studebts.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.0.10 on 2023-09-09 18:46 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('students', '0005_alter_student_keycloak_id'), | ||
('assignments', '0009_remove_assignment_vlab_slug'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='assignment', | ||
name='enrolled_studebts', | ||
field=models.ManyToManyField(null=True, to='students.student'), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
vreapis/assignments/migrations/0011_alter_assignment_enrolled_studebts.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Generated by Django 4.0.10 on 2023-09-09 18:48 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('students', '0005_alter_student_keycloak_id'), | ||
('assignments', '0010_assignment_enrolled_studebts'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='assignment', | ||
name='enrolled_studebts', | ||
field=models.ManyToManyField(blank=True, null=True, to='students.student'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
vreapis/assignments/migrations/0012_rename_enrolled_studebts_assignment_enrolled_students.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Generated by Django 4.0.10 on 2023-09-09 18:51 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('assignments', '0011_alter_assignment_enrolled_studebts'), | ||
] | ||
|
||
operations = [ | ||
migrations.RenameField( | ||
model_name='assignment', | ||
old_name='enrolled_studebts', | ||
new_name='enrolled_students', | ||
), | ||
] |
26 changes: 26 additions & 0 deletions
26
vreapis/assignments/migrations/0013_file_assignment_files.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Generated by Django 4.0.10 on 2023-09-09 19:32 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('assignments', '0012_rename_enrolled_studebts_assignment_enrolled_students'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='File', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('file', models.FileField(upload_to='files/%Y/%m/%d')), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name='assignment', | ||
name='files', | ||
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='files', to='assignments.file'), | ||
), | ||
] |
22 changes: 22 additions & 0 deletions
22
vreapis/assignments/migrations/0014_remove_assignment_files_assignment_files.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Generated by Django 4.0.10 on 2023-09-09 19:33 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('assignments', '0013_file_assignment_files'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='assignment', | ||
name='files', | ||
), | ||
migrations.AddField( | ||
model_name='assignment', | ||
name='files', | ||
field=models.ManyToManyField(blank=True, null=True, to='assignments.file'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters