From 2b8193b97de23e44b5a4e2c1372228ff63135d34 Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Thu, 22 Apr 2021 08:34:12 +0200 Subject: [PATCH] Debug proceedings admin --- .../migrations/0009_auto_20210422_0833.py | 18 ++++++++++++++++++ proceedings/models.py | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 proceedings/migrations/0009_auto_20210422_0833.py diff --git a/proceedings/migrations/0009_auto_20210422_0833.py b/proceedings/migrations/0009_auto_20210422_0833.py new file mode 100644 index 000000000..0bdeb6b2d --- /dev/null +++ b/proceedings/migrations/0009_auto_20210422_0833.py @@ -0,0 +1,18 @@ +# Generated by Django 2.2.16 on 2021-04-22 06:33 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('proceedings', '0008_auto_20200810_1409'), + ] + + operations = [ + migrations.AlterField( + model_name='proceedings', + name='fellowships', + field=models.ManyToManyField(blank=True, related_name='proceedings', to='colleges.Fellowship'), + ), + ] diff --git a/proceedings/models.py b/proceedings/models.py index 47d021a12..6cfad87a0 100644 --- a/proceedings/models.py +++ b/proceedings/models.py @@ -39,8 +39,7 @@ class Proceedings(TimeStampedModel): # Fellows lead_fellow = models.ForeignKey('colleges.Fellowship', null=True, blank=True, on_delete=models.SET_NULL, related_name='+') - fellowships = models.ManyToManyField('colleges.Fellowship', blank=True, - limit_choices_to={'guest': True}) + fellowships = models.ManyToManyField('colleges.Fellowship', blank=True) # Submission data submissions_open = models.DateField() -- GitLab