Commit 4885fbe3 authored by Hervé  MENAGER's avatar Hervé MENAGER
Browse files

set taxonomy name as the default label for the object

parent 2ada6c83
......@@ -58,6 +58,9 @@ class Taxonomy(models.Model):
self.name = info['scientific_name']
super(Taxonomy, self).save(*args, **kwargs)
def __str__(self):
return self.name
class Meta:
verbose_name_plural = "taxonomies"
......
Supports Markdown
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