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