0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

4281 Commits

Author SHA1 Message Date
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
Karl Hobley
f4af64c8b9 Split up settings files 2015-05-26 16:13:34 +01:00
Karl Hobley
97e793127e Add empty static files 2015-05-26 16:13:34 +01:00
Karl Hobley
9e0ed3df77 Tweaked project template so it works with Wagtail 2015-05-26 16:13:34 +01:00
Karl Hobley
e0c8af0f39 Copied project template from Django 1.8.0 2015-05-26 16:13:34 +01:00
Karl Hobley
accf6f96a2 Deleted old project template 2015-05-26 16:13:34 +01:00
Karl Hobley
9c48f65972 Changelog/release notes 2015-05-26 14:00:52 +01:00
Karl Hobley
2aecf870a6 Merge pull request #1297 from kaedroho/fetch-translations-script
Add fetch-translations.sh
2015-05-26 13:42:23 +01:00
Dave Cranwell
c18bab66c6 Tracking/Phone Home/Upgrade notification 2015-05-26 13:35:07 +01:00
Karl Hobley
589bc3e562 Added a reason for skipping a test 2015-05-26 11:24:53 +01:00
Karl Hobley
99daa36e1d Fix a missing bracket 2015-05-26 11:21:37 +01:00
Karl Hobley
ded91decb6 Skip a sendfile test under Django 1.8
As per bbdb4379a0 (commitcomment-11084140)
2015-05-26 11:18:37 +01:00
Matt Westcott
1248a0bab0 update comment on Block.clean re the use of ValidationError params 2015-05-26 01:06:13 +01:00
Matt Westcott
71af8b4817 Merge pull request #1337 from gasman/feature/lazy-streamvalue
Implement lazy evaluation in StreamValue - fixes #1200
2015-05-25 22:26:07 +01:00
Matt Westcott
c4064024d0 Implement lazy evaluation of raw JSONish stream data in StreamValue - fixes #1200 2015-05-25 22:14:44 +01:00
Karl Hobley
2ef88b0307 Use wagtail-ci image on Drone 2015-05-25 16:13:12 +01:00
Matt Westcott
c6e539db32 Failing tests for StreamField lazy evaluation, from #1335 2015-05-22 22:37:03 +01:00
Karl Hobley
e068fa8290 Merge pull request #1327 from harrislapiroff/patch-1
Missing + in docs.
2015-05-20 17:26:07 +01:00
Harris L.
de7f1b4456 Update creating_pages.rst
Restore a missing `+`.
2015-05-20 12:25:09 -04:00
Karl Hobley
7bbde20c95 Don't make universal wheel files
The wheel file for Python 2 and Python 3 need to be slightly different as unicodecsv cannot be a dependency when using Python 3 (issue #1295)
2015-05-20 10:56:56 +01:00
Karl Hobley
486565332e Add setup.cfg for python wheels
See http://pythonwheels.com/

We support both Python 2 and Python 3 so setting universal to 1 tells wheel to make one file for both
2015-05-20 10:44:47 +01:00
Karl Hobley
e937d7a1a3 Prepare for 1.0 beta 2 release 2015-05-20 09:56:01 +01:00
Karl Hobley
12fbd34483 Fix JavaScript code style error 2015-05-20 09:25:51 +01:00
Karl Hobley
23969890cb Merge remote-tracking branch 'takeflight/refactor/remove-libsass' 2015-05-19 17:25:52 +01:00
Chris Rogers
5cd1e1f14c Merge pull request #1257 from torchbox/feature/1206-update-script
feature/1206 update script
2015-05-19 12:11:30 +01:00
Karl Hobley
9139e6454f Removed the little sites doc
Sites now have some reference documentation in the page models reference
2015-05-18 16:34:42 +01:00
Karl Hobley
ec0c9917c6 Improvements to the page model reference docs 2015-05-18 16:30:55 +01:00
Karl Hobley
6d6863c01d Link to routablepage from "adding endpoints to pages" docs 2015-05-18 15:17:27 +01:00
Karl Hobley
29cd935dc3 Rename queryset reference and privacy pages 2015-05-18 15:12:19 +01:00
Karl Hobley
d2d43dca0a Better formatting for page fields reference
No on the class so they can now be referenced with :meth:
2015-05-18 15:09:12 +01:00
Karl Hobley
01c38e27cd Improvements to cross-linking 2015-05-18 15:09:12 +01:00
Karl Hobley
605fdc62f7 Moved page field reference to page model reference 2015-05-18 15:09:12 +01:00