-
``show_*`` options removed from Pages and Blocks
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
For most sites, no action is required as these have been deprecated and replaced by miniview templates back in :doc:`version 2.1
`.
However, if you have any custom code using these deprecated fields or templates, replace them with custom miniview templates on relevant page models instead.
* ``PagePreviewBlock`` fields removed:
* show_previews
* ``CoderedArticleIndexPage`` fields removed:
* show_images
* show_captions
* show_meta
* show_preview_text
* Template options (in block Advanced Settings) have been removed from ``PageListBlock`` and ``PagePreviewBlock``.
* If you have ``CRX_FRONTEND_TEMPLATES_BLOCKS`` in your Django settings, remove the ``pagelistblock`` and ``pagepreviewblock`` entries from that dictionary.
* Corresponding ``pagelist_*.html`` and ``pagepreview_*.html`` templates have been removed from the project.
Migrations
~~~~~~~~~~
After upgrading, be sure to generate and apply new migrations as so:
.. code-block:: console
$ python manage.py makemigrations
$ python manage.py migrate
Thank you!
----------
Thanks to everyone who contributed to `5.0.0 on GitHub `_.