Commit bf558a4c authored by olb's avatar olb
Browse files

fix duplicate definition of Meta class

parent 955bce12
......@@ -315,6 +315,8 @@ class Reference(models.Model):
# It makes no sense to have multiple references of the same
# reference point on a given panorama.
unique_together = (("reference_point", "panorama"),)
verbose_name = _("reference")
verbose_name_plural = _("references")
def clean(self):
# Check that the reference point and the panorama are different
......@@ -337,7 +339,3 @@ class Reference(models.Model):
xy=(self.x, self.y),,
class Meta:
verbose_name = _("reference")
verbose_name_plural = _("references")
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