Ben Sturmfels
5278e005a0
Remove unused import in docs snippet.
2017-08-23 22:58:42 +01:00
Ben Sturmfels
5301010474
Update docs for Amazon ElasticSearch service as backend.
...
This change moves the "connection_class" key into "OPTIONS", resolving error
``AttributeError: 'AWS4Auth' object has no attribute 'encode'``.
2017-08-23 21:11:25 +01:00
Tomasz Knapik
80c846a0cf
Add help_text to DecimalBlock and RegexBlock
2017-08-11 11:48:51 +01:00
Matt Westcott
7c99cad62b
Documentation for rich text features
2017-08-10 14:19:34 +01:00
Matt Westcott
2e5dd9aa55
Refactor #3605 to work alongside 'required' param
2017-08-01 15:02:52 +01:00
ebar0n
993cff3e22
Add validations for min_max_fields on StreamBlock
2017-08-01 10:41:49 +01:00
Edwar Baron
58ad6545be
Add ability to specify min/max block counts on StreamBlock
2017-08-01 10:41:48 +01:00
Matt Westcott
4a5f3072bd
Release note and docs for #3315
2017-08-01 00:17:02 +01:00
Jeffrey Chau
988a2487ef
Update documentation to reflect specific behavior of form_classname meta attribute
2017-07-28 15:41:38 +01:00
Karl Hobley
8a8b440532
Put a space back
...
Accidentally removed by previous commit
2017-07-04 09:58:01 +01:00
Karl Hobley
1d878c6788
Remove a broken link from pages.rst
...
This link now just leads to a blank page with the message "The Django wiki is no longer used for this information."
2017-07-04 09:56:36 +01:00
Matt Westcott
b2fbd91864
Document the DOCUMENT_PASSWORD_REQUIRED_TEMPLATE setting
2017-06-16 14:50:48 +01:00
Matt Westcott
ea8ab5de45
Document Elasticsearch 5.4 incompatibility with ATOMIC_REBUILD
2017-06-07 15:08:48 +01:00
John Franey
3f8052064e
Mention PostgreSQL backend in docs Search index
...
Updates the Search docs index to mention the new PostgreSQL backend
2017-05-30 20:48:46 +01:00
Matt Westcott
1f8edc8984
Cache Site.get_site_root_paths
in the request scope ( #3354 )
2017-05-16 15:24:48 +01:00
Bertrand Bordage
e62d67bd73
Adds PostgreSQL search backend. ( #3515 )
...
* Adds PostgreSQL search backend.
* Isort nitpicks.
* Fixes PostgreSQL versions incompatibilities.
* Uses Django lru_cache instead of building our own.
* Fixes PostgreSQL search index on some empty vector & query cases.
* Never sets the PostgreSQL search vector to NULL.
* Simplification + removes caching on two fast enough functions.
* Rewrites stale entries deletion to use the ORM.
2017-04-12 16:16:16 +01:00
Andreas Nüßlein
bfd4a2ef4b
Adding the Meta attribute group
to Blocks.
...
The idea is that Streamfield-Blocks can be grouped in the CMS
by setting Meta's `group` attribute.
This gives a better overview, particularly with many blocks.
If the attribute remains unset, nothing changes.
2017-04-10 20:27:32 +01:00
Matt Westcott
6d553ab396
Document that 'format' on Date(Time)Block must be one of the recognised DATE(TIME)_INPUT_FORMATS
2017-03-31 16:46:00 +01:00
Bojan Mihelac
0f53afc5a6
Adds support for custom date and datetime formats ( #2595 )
...
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.
# django settings
USE_I18N = True
LANGUAGE_CODE = 'sl'
# wagtail settings
WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'
DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00
Nick Smith
48949e69a7
Add to StreamField migrations documentation
...
- Add example code for migrating draft pages and page revisions
2017-03-30 21:37:12 +01:00
Kees Hink
6961f33078
Restrict view_draft to can_publish / can_edit permissions ( #3474 )
2017-03-24 11:54:10 +01:00
Scot Hacker
6364104282
Document get_rendition()
2017-02-21 22:48:20 +00:00
Mikalai Radchuk
eb47526888
Enhancement for PageChooserBlock
...
Allow the target_model argument to be a list or tuple.
2017-02-17 11:30:32 +00:00
Matt Westcott
bd9455a11b
Document wagtailsearch settings for Amazon Elasticsearch Service ( #3345 )
...
Resolves #2776
2017-02-08 18:58:24 +00:00
Matt Westcott
19310a84ed
Documentation and release notes for #3275
2017-01-16 18:51:42 +00:00
Mikela Clemmons
26b7071307
RegexBlock error_message typo in docs
...
In the documention an example had a singular
2017-01-13 10:06:19 +00:00
Nikolai R Kristiansen
54bfd1a802
docs: Fix INDEX_SETTINGS in ES search backend ex.
...
The key `number_of_shards` lives below the `index` key.
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-create-index.html#create-index-settings
2017-01-06 11:23:16 +00:00
J. Heasly
9424a8eab9
Give indication that there may be other template bits necessary for tag to work.
...
I came to this page from "Getting Started" template examples where all pages examples are rendered within {% block content %} tags which are not in these template examples."
;
2017-01-05 10:14:07 +00:00
Matt Westcott
5e13a1d674
Remove old versionadded line
2016-12-15 16:23:05 +00:00
Matt Westcott
6f834c9a9b
Update links to github.com/torchbox to point to github.com/wagtail
2016-12-15 11:49:49 +00:00
pyMan
7d1114c1a1
Extra ES params passed through new OPTIONS key
...
Closes #2778
Extra ES params are now passed through new OPTIONS key in the
WAGTAILSEARCH_BACKENDS setting.
It's backward compatible: if no OPTIONS key is found and some parameters
still exist, those parameters are used for the ES constructor..
2016-12-01 12:04:14 +00:00
Karl Hobley
18316d627d
Added Elasticsearch 5 to search backend docs
2016-11-30 16:31:20 +00:00
Scot Hacker
2882775842
Add BlockQuoteBlock to core block types
2016-11-29 10:13:10 +00:00
Mikalai Radchuk
55bdae573b
Add support of callable choices for ChoiceBlock
...
Fixes #2809
2016-11-28 17:44:35 +00:00
Tim Heap
16213db0f8
Remove old versionadded notes
...
A step has been added to the release process notes to do this for future
releases as well.
https://github.com/torchbox/wagtail/wiki/Creating-a-new-Wagtail-release
2016-11-28 13:41:35 +00:00
Tim Heap
6ba34636cb
Fix whitespace errors in docs
...
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap
254e675634
Use .. code-block:: console for all shell commands
...
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/ >. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Tim Heap
f742d4a476
Use .. code-block:: for all python, html blocks
2016-11-28 13:41:34 +00:00
Benoit Vogel
2fba07ad8e
Implemented StaticBlock
...
Uses admin_text which is a Meta attribute.
* StaticBlock code in wagtailcore/blocks + tests
* StaticBlock in Streamfield docs
2016-11-15 10:29:06 +00:00
Matt Westcott
59e9a31bc1
Document the fact that a matching version of the elasticsearch package must be used
2016-11-04 11:14:12 +00:00
Matt Westcott
8de1b1b16f
Release note for #3035
2016-11-03 16:58:54 +00:00
Matt Westcott
1b2cb50a84
Add documentation for bulk delete permission
2016-11-03 16:58:50 +00:00
Matt Westcott
5c9fc29fbe
Mention that deleting a published page requires publish permission
2016-11-03 16:10:11 +00:00
Matt Westcott
e681cb3626
Add documentation about permission configuration
2016-11-03 16:10:09 +00:00
Tim Heap
9d54031a50
Add PageChooserBlock target_model option
...
It allows selecting a restricted subset of pages, like with the
PageChooserPanel
2016-10-26 13:01:46 +01:00
Matt Westcott
a326cd8559
Custom Page Manager documentation fix
...
Thanks to @nimasmi for reporting!
2016-10-25 11:48:02 +01:00
Matt Westcott
534b5d1fd9
Release note for #2474
2016-10-05 16:03:54 +01:00
Karl Hobley
2a6f908972
Various docs tweaks
...
Thanks @tomdyson for spotting!
2016-10-05 15:54:05 +01:00
Karl Hobley
6c57b5b280
Docs for format and jpegquality image filters
...
This also fixes #1205
2016-10-05 15:54:05 +01:00
Karl Hobley
9a57e39cfd
Implemented annotate_score on SearchResults
...
This allows the user to retrieve the scores for each search result:
for page in Page.objects.search("Hello").annotate_score('_score'):
print(page.title, page._score)
2016-09-22 12:03:23 +01:00