- inheriting covers after parents,
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 21 Aug 2012 12:35:42 +0000 (14:35 +0200)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Tue, 21 Aug 2012 12:35:42 +0000 (14:35 +0200)
commit1405761d13e0ba62db4b1f9a9d5fa1472142b6d0
treeeac2e70749eb813ce1508dcad04b30d6bc25c2e6
parent3c949051e5f0d93dde78fa5f101584e6766f6022
- inheriting covers after parents,
- DRY: move build methods to relevant fields, simplify adding formats (in catalogue.constants)
- add CATALOGUE_{DONT_BUILD,FORMAT_ZIPS} instead of many NO_BUILD_* and ALL_*_ZIP settings, move to catalogue.app_settings
- catalogue.management.importbooks: one option for skipping formats
- use override_settings in tests
- minor test fixes
15 files changed:
apps/catalogue/__init__.py
apps/catalogue/constants.py
apps/catalogue/fields.py
apps/catalogue/management/commands/importbooks.py
apps/catalogue/migrations/0005_auto__chg_field_book_pdf_file__chg_field_book_html_file__chg_field_boo.py [new file with mode: 0644]
apps/catalogue/models/book.py
apps/catalogue/tasks.py
apps/catalogue/test_utils.py
apps/catalogue/tests/book_import.py
apps/catalogue/tests/bookmedia.py
apps/catalogue/utils.py
apps/picture/tests/picture_import.py
apps/search/tests/index.py
lib/librarian
wolnelektury/settings/custom.py