From de19e83a7d30eba7dbea765b7a8dab7532f153d2 Mon Sep 17 00:00:00 2001 From: Eric Theise Date: Fri, 20 Mar 2020 20:55:42 -0600 Subject: [PATCH] feat: part of #17, filter Organizations by Source in admin --- mdi/models.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/mdi/models.py b/mdi/models.py index 04c45f7..161f823 100644 --- a/mdi/models.py +++ b/mdi/models.py @@ -145,8 +145,3 @@ class OrganizationSocialNetwork(models.Model): class Meta: verbose_name = "Organization's Social Network" - - def clean(self): - super().clean() - if self.handle is None and self.url is None: - raise ValidationError('At least one of Handle or URL must be specified')