X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/2009fbf211892e7e25a8bf3c2fd934972b86db9a..1610eb2c8c981232e53cbc58039fd3c00736a652:/src/catalogue/models/book.py?ds=sidebyside 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