That's odd
This commit is contained in:
parent
f5e0b39e3b
commit
2d61a4a98a
|
@ -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
|
Loading…
Reference in New Issue
Block a user