📅  最后修改于: 2022-03-11 14:47:21.503000             🧑  作者: Mango
class Transaction(models.Model):
created_at = models.DateTimeField(
default=timezone.now, null=True, blank=True
)
paid = models.DateTimeField(null=True, blank=True)
class Meta:
ordering = ['-paid', '-created_at']