models.py 293 B

12345678910
  1. from django.db import models
  2. class SubscriptionQuotaWarning(models.Model):
  3. """ Track when quota warnings are sent out """
  4. subscription = models.OneToOneField(
  5. "djstripe.Subscription", on_delete=models.CASCADE
  6. )
  7. notice_last_sent = models.DateTimeField(auto_now=True)