Commits

Renato Oliveira committed c67a4f5

Added verbose name.

Comments (0)

Files changed (1)

     def __unicode__(self):
         return u'{}'.format(self.name)
 
+    class Meta:
+        verbose_name = u'Presente'
+
 
 class Guest(models.Model):
     name = models.CharField(u'Nome', max_length=500)
         super(Guest, self).save(*args, **kwargs)
         self.gift.available_quantity -= 1
         self.gift.save()
+
+    class Meta:
+        verbose_name = u'Convidado'