+
+class Theme(models.Model):
+ name = models.CharField(_('name'), max_length=50, unique=True)
+
+ class Meta:
+ ordering = ('name',)
+ verbose_name = _('theme')
+ verbose_name_plural = _('themes')
+
+ def __unicode__(self):
+ return self.name
+
+ def __repr__(self):
+ return "Theme(name=%r)" % self.name
+