Matt Westcott
db59fb5bc6
test SafeData rather than SafeText for py2 compatibility (and use assertIsInstance)
2015-06-01 18:45:35 +01:00
Matt Westcott
ce590531be
Make RawHTMLBlock consistently use SafeText as its native value
2015-06-01 18:24:53 +01:00
Karl Hobley
7fafc63ce0
Fix typo
2015-06-01 16:55:55 +01:00
Karl Hobley
3b26ddc162
Fixed module names for a few classes
2015-06-01 16:03:59 +01:00
Dan Braghis
be3be40389
Release/changelog notes for #1109
2015-06-01 14:30:07 +01:00
Dan Braghis
b13951b5cf
Merge pull request #1109 from kaedroho/vanilla-project-template
...
Vanilla project template
2015-06-01 14:17:36 +01:00
Karl Hobley
9df9261f4f
Fixed a couple of links in editor manual
...
This should fix PDF builds as well
2015-06-01 14:12:48 +01:00
Karl Hobley
a6f28826bd
Merge pull request #1358 from kaedroho/customisation-docs
...
Added customisation section to the docs
2015-06-01 12:36:42 +01:00
Karl Hobley
eec194f154
Added missing "versionadded"
2015-06-01 09:54:17 +01:00
Karl Hobley
0b0a97ff28
Update 1.0.rst
2015-06-01 09:52:29 +01:00
Karl Hobley
82c04f56f6
Fix typo
2015-06-01 09:51:08 +01:00
Karl Hobley
f9f6d52670
Moved page editor customisation to customisation section
2015-05-30 23:17:39 +01:00
Karl Hobley
5d52ae949d
Added customisation section
2015-05-30 23:10:48 +01:00
Matt Westcott
7938099a21
Merge branch 'bgrace-feature/optional-richtextblocks'
2015-05-30 11:20:24 +01:00
Matt Westcott
15a5f7494c
Merge branch 'feature/optional-richtextblocks' of https://github.com/bgrace/wagtail into bgrace-feature/optional-richtextblocks
2015-05-30 11:17:16 +01:00
Matt Westcott
1167cd0484
Make StructBlock.clean return a StructValue, not a dict - fixes #1355
2015-05-29 21:12:58 +01:00
Karl Hobley
3188fc031a
Added a link to AUTO_UPDATE docs from release notes
2015-05-29 17:00:09 +01:00
Matt Westcott
f5218910c4
Merge branch 'kaedroho-search-auto-update'
2015-05-29 16:24:38 +01:00
Matt Westcott
e2a44fe0a5
release note for #1349
2015-05-29 16:24:23 +01:00
Matt Westcott
eaa100367f
Merge branch 'search-auto-update' of https://github.com/kaedroho/wagtail into kaedroho-search-auto-update
2015-05-29 15:58:29 +01:00
Karl Hobley
9885d2fb7d
Fix typos
2015-05-29 14:21:08 +01:00
Karl Hobley
d0df0c225b
Merge pull request #1352 from gasman/block-value-conversion
...
Make Block value type handling more consistent
2015-05-29 14:06:26 +01:00
Karl Hobley
1e0a203f86
Added tests for get_search_backends
2015-05-29 14:05:11 +01:00
Karl Hobley
77d143a099
Some edits to model reference
2015-05-29 12:53:48 +01:00
Karl Hobley
16315403fc
Added upgrade consideration for admin_form_fields
2015-05-29 12:05:52 +01:00
Karl Hobley
afda401956
Document admin_form_fields
2015-05-29 11:57:25 +01:00
Karl Hobley
c670f1a8e7
Indexing {non-page => custom} models
2015-05-29 11:23:31 +01:00
Karl Hobley
e4ee711043
Removed Pagination from the example search view
...
Makes the searching bit easier to see. Leave pagination as an exercise for the reader
2015-05-29 11:20:05 +01:00
Karl Hobley
e7c61b13b1
Improve docs for WAGTAILSEARCH_BACKENDS setting
...
Including docs for new AUTO_UPDATE parameter
2015-05-29 11:04:54 +01:00
Karl Hobley
c837afdfa2
Disabled AUTO_UPDATE on Elasticsearch backend in tests
2015-05-29 10:49:39 +01:00
Karl Hobley
72db917ddc
Add AUTO_UPDATE option to backend parameters
...
By default, Wagtail will keep all search indexes up to date using signal handlers.
This is sometimes not needed/wanted. This PR allows auto-update to be configured on a per-index basis.
2015-05-29 10:49:39 +01:00
Karl Hobley
640383ad29
Updates to search backends docs
2015-05-29 10:49:16 +01:00
Matt Westcott
a91ad071c0
Avoid calling to_python when retrieving form field values in FieldBlock.
...
to_python and get_prep_value should only be used for serialising / deserialising between native block values and their JSONish representations. Instead, we add two new methods value_for_form and value_from_form to handle any necessary conversions between form values and block values.
2015-05-28 17:14:14 +01:00
Karl Hobley
c3a4a30719
Wording tweak
2015-05-28 15:18:51 +01:00
Karl Hobley
a0ddfc9fec
Tweak to the RoutablePageMixin examples
...
Use view names as defined in the example above
2015-05-28 15:18:18 +01:00
Karl Hobley
0662f915ad
Reordered 1.0 upgrade considerations
2015-05-28 15:03:48 +01:00
Dan Braghis
bce460a09c
Merge pull request #1351 from kaedroho/docs-restructure-again
...
Further docs restructuring
2015-05-28 14:15:41 +01:00
Karl Hobley
1ba7e645fd
Renamed howto to advanced topics
2015-05-28 12:58:50 +01:00
Karl Hobley
2e0dcc88d5
Moved some of the reference docs into topics
2015-05-28 12:57:00 +01:00
Matt Westcott
deb9df4185
Be consistent about what kind of value the 'default' of a Block is.
...
Most places assume that it's the block's native value type (e.g. ListBlock.html_declarations calls child_block.render_form with it), but StructBlock erroneously calls to_python on it (which would imply that it's expecting a JSONish value), and some native value types (e.g. StreamValue / StructValue) can't be passed as defaults because they contain a reference to the not-yet-constructed block object.
To get around this, we introduce a block.get_default() method which is guaranteed to return a native value (performing type conversions when the 'default' passed in the constructor / meta class isn't one already) and avoid calling to_python on this return value.
2015-05-28 11:53:42 +01:00
Dave Cranwell
bd45a12efd
Simplified getting started section
2015-05-28 10:13:05 +01:00
Karl Hobley
ca0085c68d
Update Willow to 0.2.1
2015-05-27 14:33:35 +01:00
Karl Hobley
f2012bcde0
Merge pull request #1319 from kaedroho/more-pages-docs-tweaks
...
Various improvements to pages docs
2015-05-27 09:47:34 +01:00
Karl Hobley
a177a69824
Merge pull request #1306 from kaedroho/custom-image-model-docs
...
Add docs for custom image models
2015-05-27 09:40:52 +01:00
Karl Hobley
30eed43d10
Merge pull request #1318 from kaedroho/frontend-search-docs
...
Update frontend search view docs
2015-05-27 09:40:39 +01:00
Karl Hobley
dc6a53a5fb
Missing comma
2015-05-26 16:13:34 +01:00
Karl Hobley
26245ab1d4
Moved apps into root directory
2015-05-26 16:13:34 +01:00
Karl Hobley
b7b5aec0c7
Added search app
2015-05-26 16:13:34 +01:00
Karl Hobley
effa01919f
Added home app
2015-05-26 16:13:34 +01:00
Karl Hobley
dc36328407
Added base templates
2015-05-26 16:13:34 +01:00