X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/03715cba601c571ac35765daa5b6a97a004326cf..d04b366656def9a659889c0c83b07ccd0833fd5d:/src/picture/models.py diff --git a/src/picture/models.py b/src/picture/models.py index 3a05ad8dc..7ccd97c0c 100644 --- a/src/picture/models.py +++ b/src/picture/models.py @@ -101,6 +101,8 @@ class Picture(models.Model): short_html_url_name = 'picture_short' + is_picture = True + class AlreadyExists(Exception): pass