That's odd

This commit is contained in:
Zergling_man 2021-10-09 23:33:21 +11:00
parent f5e0b39e3b
commit 2d61a4a98a

View File

@ -6,7 +6,7 @@ class Page(models.Model):
url=models.CharField(max_length=500) url=models.CharField(max_length=500)
title=models.CharField(max_length=100) title=models.CharField(max_length=100)
contents=models.TextField() contents=models.TextField()
last_edited=models.DateField(True) last_edited=models.DateField(auto_now=True)
def __str__(self): def __str__(self):
return self.title return self.title