From ee21f52e202f7d0217fb4aef3bb44d7d72c1fc94 Mon Sep 17 00:00:00 2001 From: aletson Date: Thu, 4 Feb 2021 10:38:07 -0500 Subject: [PATCH] actually fix the forum thing --- votefinder/main/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/votefinder/main/models.py b/votefinder/main/models.py index aebf414..ef371a0 100644 --- a/votefinder/main/models.py +++ b/votefinder/main/models.py @@ -405,7 +405,7 @@ class AddPlayerForm(forms.Form): def clean_name(self): name = self.cleaned_data['name'] - forum = self.cleaned_data['forum'] + forum = self.data.get('forum') try: if forum == 'sa': self.player = Player.objects.filter(sa_uid__isnull=False).get(name=name)