Added records to courses and assignments

parent 1da508fa
# Generated by Django 4.0.3 on 2022-04-02 14:15
from django.db import migrations
class Migration(migrations.Migration):
dependencies = [
('assignments', '0004_course_assignment_course'),
]
operations = [
migrations.RemoveField(
model_name='assignment',
name='course',
),
]
# Generated by Django 4.0.3 on 2022-04-02 14:18
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('assignments', '0005_remove_assignment_course'),
]
operations = [
migrations.AddField(
model_name='assignment',
name='course',
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to='assignments.course'),
),
]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment