summaryrefslogtreecommitdiff
path: root/website/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'website/models.py')
-rw-r--r--website/models.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/website/models.py b/website/models.py
index d0cd85a..f8288c6 100644
--- a/website/models.py
+++ b/website/models.py
@@ -14,3 +14,9 @@ class Proposal(models.Model):
attachment = models.FileField(upload_to=get_document_dir)
date_created = models.DateTimeField(auto_now_add=True)
date_modified = models.DateTimeField(auto_now=True)
+
+
+class Comments(models.Model):
+ proposal = models.ForeignKey(Proposal)
+ user = models.ForeignKey(User)
+ comment = models.CharField(max_length=700)