class Post(models.Model):
ref_no = models.CharField(max_length=6, null=True, blank=True, unique=True)
select_section = models.CharField(max_length=20, choices=Sections)
incident = models.TextField(max_length=500, help_text="Mention the incident in brief here.")
severity = models.CharField(max_length=20, choices=Severity)
date_posted = models.DateField(auto_now_add=True, auto_now=False, blank=True)
confirm_closing = models.BooleanField(default=False, help_text="Please confirm to close the Ticket")
comment = models.TextField(max_length=500, default="Issue resolved and this Ticket has been closed successfully!")
date_closed = models.DateField(null=True, blank=False, auto_now_add=False, auto_now=False)
username = models.ForeignKey(User, on_delete=models.CASCADE)
これは私のモデルですここで、date_closed フィールドのmin_date を、モデルの date_postedフィールドよりも大きくする必要があります....何をすべきか教えてください....事前に感謝します