0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 03:31:04 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
Dave Cranwell
053a75ef9d clarify ElasticSearch dependency 2014-08-26 13:26:56 +01:00
Karl Hobley
09086b13b2 Docs changes for #562 2014-08-26 12:14:39 +01:00
Dave Cranwell
6eb5f821ed added quick django example 2014-08-21 15:56:55 +01:00
Dave Cranwell
628f94519c added more Page model information about previouslly missing attributes like subpage_types 2014-08-21 15:17:14 +01:00
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
pvetch
26314bdfc7 Update using_images_outside_wagtail.rst
Fix to code block syntax
2014-08-19 10:52:49 +01:00
pvetch
470a9e4396 Update routable_page.rst
tiny text fix
2014-08-19 10:51:52 +01:00
Karl Hobley
75e0d32b60 Improved example for 'subpage_urls' in RoutablePage documentation 2014-08-18 11:40:48 +01:00
Karl Hobley
ba6ade482e Changelog and release notes for #538 2014-08-18 09:18:15 +01:00
Tim Heap
98698ef8d4 Add routablepageurl template tag
It is similar to `pageurl`, but works with `RoutablePage`s. Functions
like a hybrid between `reverse` and `pageurl`. For example:

    {% load wagtailroutablepage_tags %}
    {% routablepageurl self "feed" %}
    {% routablepageurl self "archive" 2014 08 14 %}
    {% routablepageurl self "food" foo="bar" baz="quux" %}
2014-08-18 08:27:07 +10:00
Matt Westcott
30142d6201 add release notes / changelog for using images outside wagtail 2014-07-30 19:12:51 +01:00
Matt Westcott
1388822b9b copyediting on the 'using images outside wagtail' docs 2014-07-30 19:12:51 +01:00
Karl Hobley
b566b72736 Merge remote-tracking branch 'torchbox/master' into image-frontend-urls
Conflicts:
	docs/core_components/images/index.rst
	wagtail/wagtailimages/models.py
	wagtail/wagtailimages/tests.py
	wagtail/wagtailimages/utils/validators.py
2014-07-30 09:47:59 +01:00
Matt Westcott
76491f5454 Add release notes for image feature detection 2014-07-29 17:19:50 +01:00
Karl Hobley
d515029359 Moved frontend image url docs into new images section 2014-07-29 16:35:34 +01:00
Matt Westcott
71138ef021 Add note that the 'libdc1394 error' thrown by OpenCV is harmless 2014-07-29 16:35:01 +01:00
Matt Westcott
f70c42e6c3 Merge branch 'image-smartcropping' of https://github.com/kaedroho/wagtail into kaedroho-image-smartcropping 2014-07-29 15:51:03 +01:00
Karl Hobley
a5f0f8ed19 Added note to say that searching on extra fields with the database backend is not supported 2014-07-29 14:57:29 +01:00
Karl Hobley
8722827937 Improvements to feature detection docs 2014-07-29 13:28:13 +01:00
Karl Hobley
56acdb2bd7 Moved image feature detection docs into new images section 2014-07-29 13:13:39 +01:00
Karl Hobley
509d066a41 Merge remote-tracking branch 'torchbox/master' into image-smartcropping 2014-07-29 13:08:14 +01:00
Karl Hobley
fc4b1ba177 Removed 'Overview' title from Pages index (was messing up toctree) 2014-07-25 15:41:20 +01:00
Karl Hobley
d9e0ad3a37 Added components sections 2014-07-25 15:31:55 +01:00