0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

261 Commits

Author SHA1 Message Date
kevin howbrook
0b44392c3d Add missing import to tagging docs (#4158) 2017-12-29 17:54:38 +01:00
LB
70eb2b6ae3 add on_delete argument to ParentalKey & ForeignKey 2017-12-15 10:33:09 +00:00
LB (Ben Johnston)
e20fbcc3cd Update register_page_listing_more_buttons example
Use Button instead of PageListingButton in **register_page_listing_more_buttons** section.
2017-12-14 12:37:16 +00:00
Philipp Bosch
a9f51a09c4 [Docs] Fix imports in "Buttons with dropdown lists" hooks example 2017-12-05 00:12:06 +00:00
Matt Westcott
9610c2d3af Make InlinePanel heading independent of label. Original commit by @Adrian-Turjak 2017-11-30 12:08:19 +00:00
LB
bc0923b356 Add note that form_submission is passed to landing page context 2017-11-28 22:01:37 +08:00
LB
afee487d52 Documentation example for render_landing_page 2017-11-28 22:01:18 +08:00
Mads Jensen
ffd93a0d28 Don't inherit from object 2017-11-27 10:06:03 +00:00
Karl Hobley
58ea7f824a Renamed wagtail.contrib.wagtailsitemaps to wagtail.contrib.sitemaps 2017-11-26 22:43:47 +00:00
Karl Hobley
fd8f642fb6 Renamed wagtail.contrib.wagtailsearchpromotions to
wagtail.contrib.search_promotions

Conflicts:
	wagtail/contrib/search_promotions/forms.py
	wagtail/contrib/search_promotions/templatetags/wagtailsearchpromotions_tags.py
	wagtail/contrib/search_promotions/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
394274b0a1 Renamed wagtail.contrib.wagtailroutablepage to
wagtail.contrib.routable_page

Conflicts:
	docs/reference/contrib/routablepage.rst
2017-11-26 22:43:47 +00:00
Karl Hobley
7f1b60abca Renamed wagtail.contrib.wagtailfrontendcache to
wagtail.contrib.frontend_cache

Conflicts:
	docs/reference/contrib/frontendcache.rst
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/frontend_cache/signal_handlers.py
2017-11-26 22:43:47 +00:00
Karl Hobley
f29ce6c1f9 Renamed wagtail.wagtailforms to wagtail.contrib.forms
Conflicts:
	docs/reference/contrib/forms/customisation.rst
	docs/reference/contrib/forms/index.rst
	wagtail/contrib/forms/tests/test_forms.py
	wagtail/contrib/forms/tests/test_models.py
	wagtail/contrib/forms/tests/test_views.py
	wagtail/contrib/forms/views.py
	wagtail/contrib/forms/wagtail_hooks.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/models.py
2017-11-26 22:43:47 +00:00
Karl Hobley
1ecf48fb3f Rename wagtail.wagtailsnippets to wagtail.snippets
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/topics/pages.rst
	docs/topics/snippets.rst
	gulpfile.js/config.js
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/snippets/tests.py
	wagtail/snippets/views/chooser.py
	wagtail/snippets/views/snippets.py
	wagtail/snippets/wagtail_hooks.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/models.py
2017-11-26 22:43:47 +00:00
Karl Hobley
19730bea53 Renamed wagtail.wagtailsearch to wagtail.search
Conflicts:
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/search/searching.rst
	tox.ini
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/views/mixins.py
	wagtail/api/v2/filters.py
	wagtail/contrib/wagtailsearchpromotions/forms.py
	wagtail/contrib/wagtailsearchpromotions/views.py
	wagtail/documents/models.py
	wagtail/documents/views/chooser.py
	wagtail/documents/views/documents.py
	wagtail/documents/views/multiple.py
	wagtail/images/migrations/0001_initial.py
	wagtail/images/models.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/project_template/search/views.py
	wagtail/search/tests/test_frontend.py
	wagtail/search/tests/test_index_functions.py
	wagtail/search/views/frontend.py
	wagtail/search/views/queries.py
	wagtail/search/wagtail_hooks.py
	wagtail/tests/demosite/models.py
	wagtail/tests/modeladmintest/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0020_customdocument.py
	wagtail/tests/testapp/models.py
	wagtail/tests/urls.py
	wagtail/wagtailsnippets/views/chooser.py
	wagtail/wagtailsnippets/views/snippets.py
2017-11-26 22:43:47 +00:00
Karl Hobley
bf0f3e02ba Rename wagtail.wagtailimages to wagtail.images
Conflicts:
	docs/advanced_topics/api/v2/configuration.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	gulpfile.js/config.js
	tox.ini
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_streamfield.py
	wagtail/documents/tests/test_models.py
	wagtail/images/models.py
	wagtail/images/permissions.py
	wagtail/images/tests/test_admin_views.py
	wagtail/images/tests/test_image_operations.py
	wagtail/images/tests/test_models.py
	wagtail/images/tests/test_signal_handlers.py
	wagtail/images/views/chooser.py
	wagtail/images/views/images.py
	wagtail/images/views/multiple.py
	wagtail/images/wagtail_hooks.py
	wagtail/images/widgets.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/migrations/0001_initial.py
	wagtail/tests/testapp/migrations/0008_inlinestreampage_inlinestreampagesection.py
	wagtail/tests/testapp/migrations/0009_defaultstreampage.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
78b1372cd4 Rename wagtail.wagtaildocs to wagtail.documents
Conflicts:
	docs/advanced_topics/i18n/index.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	gulpfile.js/config.js
	wagtail/admin/tests/test_collections_views.py
	wagtail/api/v2/signal_handlers.py
	wagtail/contrib/wagtailstyleguide/views.py
	wagtail/core/tests/test_collection_permission_policies.py
	wagtail/documents/permissions.py
	wagtail/documents/tests/test_admin_views.py
	wagtail/documents/tests/test_collection_privacy.py
	wagtail/documents/tests/test_models.py
	wagtail/documents/views/chooser.py
	wagtail/documents/views/documents.py
	wagtail/documents/views/serve.py
	wagtail/documents/wagtail_hooks.py
	wagtail/documents/widgets.py
	wagtail/project_template/project_name/urls.py
	wagtail/tests/demosite/models.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/testapp/models.py
	wagtail/tests/urls.py
2017-11-26 22:43:47 +00:00
Karl Hobley
062d05189b Rename wagtail.wagtailadmin to wagtail.admin
Conflicts:
	docs/advanced_topics/customisation/admin_templates.rst
	docs/advanced_topics/customisation/page_editing_interface.rst
	docs/advanced_topics/i18n/duplicate_tree.rst
	docs/advanced_topics/jinja2.rst
	docs/advanced_topics/settings.rst
	docs/getting_started/integrating_into_django.rst
	docs/getting_started/tutorial.rst
	docs/reference/hooks.rst
	docs/reference/pages/panels.rst
	docs/topics/pages.rst
	docs/topics/streamfield.rst
	wagtail/admin/blocks.py
	wagtail/admin/checks.py
	wagtail/admin/edit_handlers.py
	wagtail/admin/forms.py
	wagtail/admin/rich_text.py
	wagtail/admin/search.py
	wagtail/admin/site_summary.py
	wagtail/admin/templatetags/wagtailadmin_tags.py
	wagtail/admin/tests/test_admin_search.py
	wagtail/admin/tests/test_buttons_hooks.py
	wagtail/admin/tests/test_compare.py
	wagtail/admin/tests/test_edit_handlers.py
	wagtail/admin/tests/test_page_chooser.py
	wagtail/admin/tests/test_pages_views.py
	wagtail/admin/tests/test_rich_text.py
	wagtail/admin/tests/test_widgets.py
	wagtail/admin/tests/tests.py
	wagtail/admin/urls/__init__.py
	wagtail/admin/views/account.py
	wagtail/admin/views/chooser.py
	wagtail/admin/views/collection_privacy.py
	wagtail/admin/views/collections.py
	wagtail/admin/views/home.py
	wagtail/admin/views/page_privacy.py
	wagtail/admin/viewsets/model.py
	wagtail/admin/wagtail_hooks.py
	wagtail/admin/widgets.py
	wagtail/contrib/settings/registry.py
	wagtail/contrib/wagtailsearchpromotions/wagtail_hooks.py
	wagtail/contrib/wagtailstyleguide/wagtail_hooks.py
	wagtail/project_template/project_name/settings/base.py
	wagtail/project_template/project_name/urls.py
	wagtail/tests/non_root_urls.py
	wagtail/tests/settings.py
	wagtail/tests/snippets/models.py
	wagtail/tests/testapp/models.py
	wagtail/tests/testapp/wagtail_hooks.py
	wagtail/tests/urls.py
	wagtail/wagtaildocs/models.py
	wagtail/wagtaildocs/views/chooser.py
	wagtail/wagtaildocs/wagtail_hooks.py
	wagtail/wagtailembeds/wagtail_hooks.py
	wagtail/wagtailforms/models.py
	wagtail/wagtailforms/tests/test_views.py
	wagtail/wagtailforms/views.py
	wagtail/wagtailforms/wagtail_hooks.py
	wagtail/wagtailimages/models.py
	wagtail/wagtailimages/views/chooser.py
	wagtail/wagtailimages/wagtail_hooks.py
	wagtail/wagtailredirects/forms.py
	wagtail/wagtailredirects/wagtail_hooks.py
	wagtail/wagtailsites/forms.py
	wagtail/wagtailsites/views.py
	wagtail/wagtailsites/wagtail_hooks.py
	wagtail/wagtailsnippets/tests.py
	wagtail/wagtailsnippets/wagtail_hooks.py
	wagtail/wagtailusers/forms.py
	wagtail/wagtailusers/views/groups.py
	wagtail/wagtailusers/wagtail_hooks.py
2017-11-26 22:43:47 +00:00
Karl Hobley
4300e19da2 Rename wagtail.wagtailcore to wagtail.core 2017-11-26 22:43:47 +00:00
LB
48b6a1b067 add note about django-treebeard api 2017-11-12 18:13:23 +00:00
LB
cd924d0948 add docs for exclude_fields_in_copy 2017-11-10 11:02:55 +00:00
Matt Westcott
aebb69a2ba Remove dead links to API v1 docs 2017-11-03 17:03:57 +00:00
Jonathan Carmack
7859627a6e Added hooks for user for create, delete, and edit actions 2017-11-03 16:53:32 +00:00
Karl Hobley
bf7936ade2 Replace django.core.urlresolvers with django.urls 2017-11-01 16:22:46 +00:00
Karl Hobley
b350672585 Merge pull request #3934 from gasman/cleanup/remove-python2
Remove Python 2 fallback code
2017-10-26 14:41:43 +01:00
Karl Hobley
fa302c0853 Remove wagtail.contrib.wagtailapi 2017-10-25 16:49:17 +01:00
Karl Hobley
bd38525e5b Merge branch 'master' into cleanup/remove-python2 2017-10-25 16:21:27 +01:00
Matt Westcott
60c26e5565 Remove note about Django 1.10 being required for postgres search backend 2017-10-25 16:15:02 +01:00
Matt Westcott
5f382d8784 Remove Python 2 references from docs 2017-10-13 12:24:42 +01:00
Matt Westcott
119d2334ac Replace insert_editor_js hook example with a non-registerHalloPlugin one
Fixes #3839
2017-10-10 11:51:45 +01:00
Matt Westcott
de3f9550b4 Release note for #3824 2017-10-05 15:40:55 +01:00
Karl Hobley
48cfb8e790 Tweaks to the docs 2017-10-05 15:15:21 +01:00
Karl Hobley
0cb63c72c5 Implemented suggestions from @chosak 2017-10-05 15:15:20 +01:00
Karl Hobley
8dc425660b Docs for batch cache invalidation 2017-10-05 15:15:20 +01:00
Matt Westcott
b0aedf02dc Remove old versionadded annotations from the docs 2017-08-22 14:08:44 +01:00
Joe Cronyn
d56f1069ef Updating to allow no limit max 2017-08-22 12:09:05 +01:00
Matt Westcott
b376da022f Grammar nitpick ('By default' sounds more natural than 'Per default') 2017-08-11 09:58:44 +01:00
Andreas Nüßlein
39bca11283 added default index_route for RoutablePageMixin
RoutablePageMixin has a default index_route method that is decorated
with `@route(r'^$')`. This way, including RoutablePageMixin doesn't
force you to re-enable the default functionality you would expect from a
Page anyways.
index_route behaves exactly like a standard Wagtail Page.
To override the default behaviour, one can simply override the route by
decorating another function with r'^$'.

(as disussed in issue #2866)
2017-08-11 09:58:44 +01:00
Matt Westcott
70aa876e55 Extra documentation / release note re the relationship between draft_title and get_admin_display_title 2017-08-03 12:05:52 +01:00
Eugene Morozov
7b55c5094f Backslash is not necessary when multi-line expression is parenthesized. 2017-07-18 09:56:42 +03:00
Matt Westcott
049b15f3fe Define a 'before_serve_document' hook 2017-06-16 14:50:47 +01:00
LB
18cb0245fc allow default for show_in_menus 2017-06-09 12:50:39 +01:00
Matt Westcott
927770eaab Release note / docs for #3608 2017-06-02 10:58:34 +01:00
Matt Westcott
2f2bfa0159 Make tagging example not rely on an unmentioned 'blogs' method - fixes #3602 2017-05-30 20:39:30 +01:00
iSar
411c117964 Fix typo in settings doc (#3595) 2017-05-15 09:12:16 +03:00
Sebastian
49d706b406 Update docs - run python manage.py migrate once
We have to run python manage.py migrate once, in order to create the necessary tables for the postgres search backend.
Otherwise we get an error, as the insert in the table is not possible.
2017-04-21 09:16:44 +01:00
Michael van Tellingen
7ad348ffa7 Minor documentation update for sitemaps 2017-04-19 13:40:43 +02:00
Michael van Tellingen
c6c2868c58 Update documentation related to the sitemaps
Since we now use regular Django sitemaps we can mostly just refer to the
Django documentation

Co-authored with @mikedingjan
2017-04-19 13:40:43 +02:00
Karl Hobley
0d1c277e85 Added versionadded tag to postgres search doc 2017-04-12 16:30:45 +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