Skip to content

Commit

Permalink
feat: part of #17, filter Organizations by Source in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
erictheise committed Mar 21, 2020
1 parent 8c45ee3 commit de19e83
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions mdi/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

0 comments on commit de19e83

Please sign in to comment.