Added missing landmarks field in study group model and fixed serializer for users

This commit is contained in:
Keannu Christian Bernasol 2023-09-24 19:06:50 +08:00
parent bf683b08f2
commit 5af961c941
3 changed files with 31 additions and 2 deletions

View file

@ -0,0 +1,20 @@
# Generated by Django 4.2.3 on 2023-09-24 10:59
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('landmarks', '0001_initial'),
('study_groups', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='studygroup',
name='landmark',
field=models.ForeignKey(null=True, on_delete=django.db.models.deletion.SET_NULL, to='landmarks.landmark'),
),
]