Commit 66820c89 authored by Jitka Novotna's avatar Jitka Novotna

unnecesarly clean

parent bb7e8abb
...@@ -48,10 +48,6 @@ class ComponentList(models.Model): ...@@ -48,10 +48,6 @@ class ComponentList(models.Model):
def tab_slug(self): def tab_slug(self):
return "list-" + self.slug return "list-" + self.slug
def clean(self):
if not self.name:
raise ValidationError(_('Name must be specified'))
def __str__(self): def __str__(self):
return self.name return self.name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment