summaryrefslogtreecommitdiff
path: root/app/daily/models.py
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2016-01-24 16:28:00 -0500
committerluxagraf <sng@luxagraf.net>2016-01-24 16:28:00 -0500
commit3c30c584f6254ed729f8fda0f898cec8d53566d4 (patch)
treeb2a1b14c95d6b3294e8bf906896f94e64294541f /app/daily/models.py
parent738b076c2e73d5ee7a1f5cdc930a135bc7854cb6 (diff)
Added user to daily feature so corrinne can contribute
Diffstat (limited to 'app/daily/models.py')
-rw-r--r--app/daily/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/daily/models.py b/app/daily/models.py
index be5b7fd..a0a6d5b 100644
--- a/app/daily/models.py
+++ b/app/daily/models.py
@@ -65,10 +65,10 @@ class Weather(models.Model):
class Daily(models.Model):
+ user = models.ForeignKey(settings.AUTH_USER_MODEL)
location = models.ForeignKey(Location, blank=True, null=True)
weather = models.ForeignKey(Weather, blank=True, null=True)
weather_human = models.TextField(blank=True, null=True)
- title = models.CharField(max_length=200, blank=True, null=True)
body_html = models.TextField(blank=True, null=True)
body_markdown = models.TextField(blank=True, null=True)
date = models.DateField()