#6676 (Move publisher.PageItem to new plugin 'books')
by Luc Saffre · in Developers · assigned to Luc Saffre
Kokkuvõte
The publisher.PageItem model ist the wrong approach. It (1) difficult and (2) useless to store the content of an html page and a book (a bigger printable document) in a same database model. publisher.PageItem becomes books.BookItem, and the related logic of publisher.Page goes to a new model books.Book.
Children
Kommentaarid
- 7 kuud, 1 nädal ago by Luc Saffre about #6676 (Move publisher.PageItem to new plugin 'books') : I renamed PageItem into BookSection, and the ticket of section is now nullable. Demo data still needs some example of a book without songs. Data migration on ets will need to manually create a books.Book and then convert publiser_pageitem to BookSection records of this book.
- 7 kuud, 1 nädal ago by Luc Saffre about #6676 (Move publisher.PageItem to new plugin 'books') : I created a new plugin "books" and moved PageItem to BookItem as planned. prep and runserver in noi2 now work on my computer. Next step: adapt the test suite.
- 7 kuud, 1 nädal ago by Luc Saffre about #6676 (Move publisher.PageItem to new plugin 'books') : Created new Ticket #6676 (The books plugin).