diff --git a/src/fellchensammlung/models.py b/src/fellchensammlung/models.py index 7831d9d..729c651 100644 --- a/src/fellchensammlung/models.py +++ b/src/fellchensammlung/models.py @@ -512,6 +512,7 @@ class AdoptionNotice(models.Model): photos.extend(animal.photos.all()) if len(photos) > 0: return photos + return None def get_photo(self): """