Wykres commitów

25 Commity (97e793127ecf0f76b9f3e406fd0b6062a716023a)

Autor SHA1 Wiadomość Data
Tim Heap 15419f4d0e Make RoutablePage a mixin
If a developer wanted to have a site-wide base page class, and also have
some pages be `RoutablePage`s, a conflict between the automatically
generated `page_ptr` fields would occur.

```python
from wagtail.wagtailcore.models import Page
from wagtail.contrib.wagtailroutablepage.models import RoutablePage

class SitePageBase(Page):
    # common functionality
    is_abstract = True
    class Meta:
        abstract = True

class MyPage(RoutablePage, SitePageBase):
    # This model is invalid
    pass
```

`RoutablePage` has been changed to be a mixin `RoutablePageMixin`. Page
classes can use this to gain the `RoutablePage` functionality while
still retaining the ability to subclass other models.

A `RoutablePage` class that derives from both `RoutablePageMixin` and
`Page` has been left in for backwards compatibility, so old code will
continue to function without any modifications.
2014-08-21 19:42:17 +10:00
Matt Westcott f2756ca439 Mention South 1.0 requirement in 0.5 release notes 2014-08-13 16:19:05 +01:00
Matt Westcott 20e5be9e0e remove redundant Deprecated Features heading from 0.5 release notes 2014-08-01 17:25:49 +01:00
Matt Westcott 8edff405dd prepare for 0.5 release 2014-08-01 17:01:42 +01:00
Matt Westcott 381ec5179e Added Copy Page to release notes / changelog 2014-08-01 16:46:27 +01:00
Karl Hobley 722cc00385 Changelog and release notes for asset usage stats 2014-07-31 12:28:32 +01:00
Karl Hobley 07bc13006b Merge pull request #519 from gasman/feature/fail-on-wagtailimages-urlconf-clash
Check for URL path clashes caused by pre-Wagtail-0.3 urlconfs that try to import wagtail.wagtailimages.urls as /admin/images/
2014-07-31 09:28:42 +01:00
Karl Hobley 3a55ca17da Removed a couple of stray backticks 2014-07-31 09:17:52 +01:00
Matt Westcott 379d48e7a4 Check for URL path clashes in wagtailimages caused by a pre-wagtail-0.3 urlconf, and fail loudly if one is encountered 2014-07-30 22:24:22 +01:00
Matt Westcott 30142d6201 add release notes / changelog for using images outside wagtail 2014-07-30 19:12:51 +01:00
Matt Westcott 2158dd1fc0 Add upgrade considerations note about admin/images URLs 2014-07-30 19:12:51 +01:00
Matt Westcott 76491f5454 Add release notes for image feature detection 2014-07-29 17:19:50 +01:00
Karl Hobley 118c3b0f33 Changelog/release notes for multiple image uploader 2014-07-24 12:33:47 +01:00
Matt Westcott e89505de1f changelog / release notes for #500 2014-07-24 11:33:58 +01:00
Matt Westcott 6a01b640f8 add changelog/release notes for page_published signal 2014-07-22 11:09:02 +01:00
Matt Westcott 00046639c7 Added routable page to release notes and changelog 2014-07-21 16:03:28 +01:00
Karl Hobley 133e0c8547 Fixed typo 2014-07-18 16:58:38 +01:00
Karl Hobley 5b99f38927 Added changelog and release notes for #429 2014-07-18 15:14:36 +01:00
Matt Westcott b700d6503c add html5lib item to changelog + release notes 2014-07-17 13:26:07 +01:00
Matt Westcott f91cc8d7d5 update docs to use decorator syntax for hooks 2014-07-14 18:25:14 +01:00
Karl Hobley ab8bb0e5c6 Removed redundant 'in development' notice 2014-07-10 17:27:38 +01:00
Karl Hobley 32be550ece Added 0.5 release notes to menu 2014-07-10 17:24:42 +01:00
Karl Hobley ce679fced3 Made contents a bit smaller 2014-07-10 17:23:01 +01:00
Dave Cranwell a7576faebd Added contents 2014-07-10 17:11:23 +01:00
Karl Hobley 6c6cd98e1f Added 0.5 release notes 2014-07-10 17:08:54 +01:00