wagtail/docs/releases/0.5.rst

59 wiersze
1.2 KiB
ReStructuredText
Czysty Zwykły widok Historia

2014-07-10 16:24:42 +00:00
==========================================
Wagtail 0.5 release notes - IN DEVELOPMENT
==========================================
2014-07-10 16:08:54 +00:00
2014-07-10 16:21:42 +00:00
.. contents::
2014-07-10 16:11:23 +00:00
:local:
2014-07-10 16:21:42 +00:00
:depth: 1
2014-07-10 16:11:23 +00:00
What's new
==========
2014-07-10 16:08:54 +00:00
RoutablePage
~~~~~~~~~~~~
A ``RoutablePage`` model has been added to allow embedding Django-style URL routing within a page.
:ref:`routable_page`
2014-07-10 16:08:54 +00:00
Minor features
~~~~~~~~~~~~~~
Core
----
* Hooks can now be defined using decorator syntax:
.. code-block:: python
@hooks.register('construct_main_menu')
def construct_main_menu(request, menu_items):
menu_items.append(
MenuItem('Kittens!', '/kittens/', classnames='icon icon-folder-inverse', order=1000)
)
* The lxml library (used for whitelisting and rewriting of rich text fields) has been replaced with the pure-python html5lib library, to simplify installation.
* A ``page_unpublished`` signal has been added.
2014-07-10 16:08:54 +00:00
Admin
-----
* Explorer nav now rendered separately and fetched with AJAX when needed.
2014-07-18 15:58:38 +00:00
This improves the general performance of the admin interface for large sites.
2014-07-10 16:08:54 +00:00
Bug fixes
~~~~~~~~~
Backwards incompatible changes
==============================
Deprecated features
===================