summaryrefslogtreecommitdiff
path: root/app/sightings
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-05-16 18:25:16 -0400
committerluxagraf <sng@luxagraf.net>2018-05-16 18:25:16 -0400
commitcf3fca6e6ccfafb44cf3d15f1d8f05d5a63c0faf (patch)
tree77b2940f761038ca2e10a9f855ab81e19232bbe5 /app/sightings
parent29afff03b510d818f9935571282db670e2e2b8c7 (diff)
fixed a bug in ap model
Diffstat (limited to 'app/sightings')
-rw-r--r--app/sightings/models.py2
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)