Add created datetime to Comment model

This commit is contained in:
Yax 2015-05-02 20:29:08 +02:00
parent f021a9ff49
commit 4c4ee442d3
2 changed files with 2 additions and 1 deletions

View file

@ -12,6 +12,7 @@ from app.services.database import get_db
class Comment(Model):
url = CharField()
created = DateTimeField()
published = DateTimeField()
author_name = CharField()
author_email = CharField(default='')