summaryrefslogtreecommitdiff
path: root/comments/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'comments/models.py')
-rw-r--r--comments/models.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/comments/models.py b/comments/models.py
index 390b274..0c7f70f 100644
--- a/comments/models.py
+++ b/comments/models.py
@@ -7,12 +7,14 @@ class Comment(models.Model):
chapter = models.CharField(max_length=10)
example = models.CharField(max_length=10)
page = models.CharField(max_length=10)
+ email = models.CharField(max_length=100)
date_created = models.DateTimeField(auto_now_add=True)
date_modified = models.DateTimeField(auto_now=True)
class Reply(models.Model):
comment = models.ForeignKey(Comment)
body = models.CharField(max_length=200)
+ email = models.CharField(max_length=100)
date_created = models.DateTimeField(auto_now_add=True)
date_modified = models.DateTimeField(auto_now=True)