X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2009fbf211892e7e25a8bf3c2fd934972b86db9a..0c502550a4f04aa016df8729af2ae2f85c0b495a:/src/catalogue/models/book.py diff --git a/src/catalogue/models/book.py b/src/catalogue/models/book.py index 6b9fd72b3..b624abcad 100644 --- a/src/catalogue/models/book.py +++ b/src/catalogue/models/book.py @@ -139,6 +139,8 @@ class Book(models.Model): SORT_KEY_SEP = '$' + is_book = True + class AlreadyExists(Exception): pass