-class Subscription(Model):
- email = EmailField(verbose_name=_('email address'), unique=True)
- active = BooleanField(default=True, verbose_name=_('active'))
- created_at = DateTimeField(auto_now_add=True)
- last_modified = DateTimeField(auto_now=True)
+class Subscription(models.Model):
+ email = models.EmailField(verbose_name=_('email address'), unique=True)
+ active = models.BooleanField(default=True, verbose_name=_('active'))
+ created_at = models.DateTimeField(auto_now_add=True)
+ last_modified = models.DateTimeField(auto_now=True)