diff options
Diffstat (limited to 'app/sightings/models.py')
-rw-r--r-- | app/sightings/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/sightings/models.py b/app/sightings/models.py index 8673d4b..b8d7c6f 100644 --- a/app/sightings/models.py +++ b/app/sightings/models.py @@ -75,7 +75,7 @@ class AP(models.Model): apclass = models.ForeignKey(APClass, on_delete=models.CASCADE) body_html = models.TextField(null=True, blank=True) body_markdown = models.TextField(null=True, blank=True) - image = models.ForeignKey(LuxImage, on_delete=models.CASCADE, null=True) + image = models.ForeignKey(LuxImage, on_delete=models.CASCADE, null=True, blank=True) # image = models.FileField(upload_to=get_upload_path, null=True, blank=True, help_text="width of high res is 1360px") # image_credit = models.CharField(max_length=200, blank=True, null=True) |