diff options
Diffstat (limited to 'app/daily/models.py')
-rw-r--r-- | app/daily/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/daily/models.py b/app/daily/models.py index 43c1a85..8fcce7f 100644 --- a/app/daily/models.py +++ b/app/daily/models.py @@ -66,7 +66,7 @@ class Weather(models.Model): class Daily(models.Model): - location = models.ForeignKey(Location, blank=True) + 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) |