Eric Drechsel
b89f6ce00c
fix code sample indentation
2014-10-22 11:25:18 -07:00
Dave Cranwell
4eabb3f928
Weird hanging sentence removed.
2014-10-15 15:20:16 +01:00
Matt Westcott
bfa4a806ed
document PageQuerySet.unpublish
2014-10-04 18:45:50 +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
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
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
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
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
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
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
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