From cf3fca6e6ccfafb44cf3d15f1d8f05d5a63c0faf Mon Sep 17 00:00:00 2001 From: luxagraf Date: Wed, 16 May 2018 18:25:16 -0400 Subject: fixed a bug in ap model --- app/sightings/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/sightings') 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) -- cgit v1.2.3-70-g09d2