- contact = models.ForeignKey(Contact, null=True)
- key = models.CharField(max_length=30, unique=True)
- first_name = models.CharField(max_length=100)
- last_name = models.CharField(max_length=100)
- email = models.EmailField(max_length=100, unique=True)
- key_sent = models.BooleanField(default=False)
+ contact = models.ForeignKey(Contact, verbose_name=_('contact'), null=True)
+ key = models.CharField(_('key'), max_length=30, unique=True)
+ first_name = models.CharField(_('first name'), max_length=100)
+ last_name = models.CharField(_('last_name'), max_length=100)
+ email = models.EmailField(_('email'), max_length=100, unique=True)
+ key_sent = models.BooleanField(_('key sent'), default=False)
+
+ class Meta:
+ verbose_name = _('participant')
+ verbose_name_plural = _('participants')