From: Marek Stępniowski Date: Thu, 9 Oct 2008 13:55:59 +0000 (+0200) Subject: Added setting extra_info on Book models during import. X-Git-Url: https://git.mdrn.pl/wolnelektury.git/commitdiff_plain/8b10684739a7c047845b57e25bc3a001160e7393?ds=inline Added setting extra_info on Book models during import. --- diff --git a/apps/catalogue/models.py b/apps/catalogue/models.py index 2022f1c86..81965cec2 100644 --- a/apps/catalogue/models.py +++ b/apps/catalogue/models.py @@ -170,6 +170,7 @@ class Book(models.Model): book_shelves = list(book.tags.filter(category='set')) book.title = book_info.title + book.extra_info = book_info.to_dict() book._short_html = '' book.save()