#4647 (Cannot customize ordering of publishable models in dashboard)
by Luc Saffre · in Developers · assigned to Luc Saffre
Résumé
Concepts sous-jacents
- #4658 (Lino CMS is now a stand-alone application) (by Luc Saffre in Developers assigned to Luc Saffre)
Commentaires
- 4 ans, 1 mois ago by Luc Saffre about #4647 (Cannot customize ordering of publishable models in dashboard) : I started a new repository lino_cms. TODO: finish to move code from lino_book.projects.cms there.
- 4 ans, 1 mois ago by Luc Saffre about #4647 (Cannot customize ordering of publishable models in dashboard) : I locally implemented it so that existing code just needs to say "PublishableTypes.add_item_lazy(PublicPages)" in order to have default choicelist items as before.
- 4 ans, 1 mois ago by Luc Saffre about #4647 (Cannot customize ordering of publishable models in dashboard) : I named the choicelist PublishableTypes to avoid clashes with Django's content types.
- 4 ans, 1 mois ago by Luc Saffre about #4647 (Cannot customize ordering of publishable models in dashboard) : lino.modlib.publisher simply loops for m in models_by_base(Publishable). I guess that we actually want to replace the model attributes publisher_location, publisher_page_template and publisher_item_template by a choicelist ContentTypes (which has nothing to do with Django's meaning of contenttypes).