Commit graph

63 commits

Author SHA1 Message Date
Matt Westcott
fb543589b7 Merge branch 'feature/crop-closeness' of https://github.com/kaedroho/wagtail into kaedroho-feature/crop-closeness 2014-10-07 11:41:11 +01:00
Matt Westcott
bfa4a806ed document PageQuerySet.unpublish 2014-10-04 18:45:50 +02:00
Karl Hobley
4d954df20f Merge branch 'master' into feature/crop-closeness
Conflicts:
	docs/core_components/pages/writing_templates.rst
2014-10-04 13:50:45 +01:00
Matt Westcott
963051e311 minor copyediting 2014-10-04 11:46:06 +02:00
Matt Westcott
d495ad493a Merge branch 'docs-changes' of https://github.com/kaedroho/wagtail into kaedroho-docs-changes 2014-10-04 11:30:36 +02:00
Matt Westcott
82ce4fd861 document the PageQuerySet.type method 2014-10-01 17:37:38 +01:00
Matt Westcott
a72943025f Merge branch 'searchchanges/title-boost-fix' of https://github.com/kaedroho/wagtail into kaedroho-searchchanges/title-boost-fix
Conflicts:
	wagtail/wagtailcore/models.py
2014-10-01 15:00:05 +01:00
Matt Westcott
d53c56cf27 Document the register_permissions hook 2014-10-01 10:41:21 +01:00
Karl Hobley
70d423335a Restructed search docs 2014-09-28 10:11:34 +01:00
Karl Hobley
dc26d7e347 Moved image tag documentation to images section 2014-09-28 08:57:38 +01:00
Matt Westcott
f4e27a61bb update docs for register_settings_menu_item to indicate it's now scheduled for 0.7 2014-09-26 16:04:28 +01:00
Dave Cranwell
c5ae725401 Merge branch 'master' into pr/539 2014-09-18 15:03:33 +01:00
Tim Heap
a1d3a32dd6 Make register_snippet usable as a decorator 2014-09-18 15:35:39 +10:00
Matt Westcott
c68dcff7bc copyediting on parent_page_types documentation 2014-09-16 11:55:05 +01:00
Matt Westcott
3eaf1076ab Merge branch 'feature/parent_page_types' of https://github.com/takeflight/wagtail into takeflight-feature/parent_page_types 2014-09-16 11:53:12 +01:00
Karl Hobley
f5af116f66 Merge remote-tracking branch 'torchbox/master' into feature/crop-closeness 2014-09-12 15:14:10 +01:00
Karl Hobley
3f13d9d7e1 Docs for crop closeness 2014-09-11 14:29:02 +01:00
Matt Westcott
82cd9242d4 fix documentation build warnings 2014-09-11 10:18:34 +01:00
Tim Heap
96e9079890 Add Page.parent_page_types to the docs 2014-09-10 15:17:12 +10:00
Dave Cranwell
6d05fd79fe Added get_verbose_name 2014-09-09 16:46:44 +01:00
Karl Hobley
dbd0834624 Merge pull request #535 from gasman/feature/menu-api
Refactor admin menu API to allow menu items to have bundled JS
2014-09-05 11:28:43 +01:00
Dave Cranwell
36d5d747aa Detail about image renditions and abstractimage fields 2014-09-04 11:01:24 +01:00
Karl Hobley
73d29b99c0 Fixes to RoutablePageMixin examples 2014-09-04 09:20:53 +01:00
Karl Hobley
a314285a1d Changed versionadded for RoutablePageMixin to 0.6 2014-09-04 09:18:13 +01:00
Dave Cranwell
95d249918b Update creating_pages.rst 2014-09-01 16:39:48 +01:00
Dave Cranwell
22f81498b5 Update creating_pages.rst 2014-09-01 16:39:33 +01:00
Dave Cranwell
6c159bee59 Update creating_pages.rst 2014-09-01 16:39:07 +01:00
Dave Cranwell
84aa8a1887 Update creating_pages.rst 2014-09-01 16:34:32 +01:00
Dave Cranwell
98fd81e910 Update creating_pages.rst 2014-09-01 16:33:15 +01:00
Dave Cranwell
04c65833f0 Update creating_pages.rst 2014-09-01 16:31:41 +01:00
Dave Cranwell
e2a3d549f8 Added how to add model descriptions 2014-09-01 16:30:43 +01:00
Dave Cranwell
0b3515a916 Update creating_pages.rst 2014-09-01 16:16:15 +01:00
Dave Cranwell
f0db8082c8 Better description of purpose 2014-09-01 16:09:22 +01:00
Karl Hobley
bcff495827 Added versionchanged comment for indexed->index rename 2014-08-26 17:22:53 +01:00
Karl Hobley
b9c6a0a802 Renamed indexed to index 2014-08-26 16:03:59 +01:00
Dave Cranwell
504732433b Update for_python_developers.rst 2014-08-26 13:41:02 +01:00
Dave Cranwell
15ba294bcd index -> indexed, plus other tweaks 2014-08-26 13:40:37 +01:00
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
b8eab527c6 Reduced title boost to 2. Fixes #553 2014-08-19 10:37:32 +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
e44a351068 document the register_settings_menu_item hook 2014-08-14 17:32:54 +01:00
Matt Westcott
07d2851e37 documentation for register_admin_menu_item 2014-08-12 12:06:01 +01:00