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
70aa876e55
Extra documentation / release note re the relationship between draft_title and get_admin_display_title
2017-08-03 12:05:52 +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
Matt Westcott
ee837dedc5
in Page reference docs, don't tell people to consult source code ( #3303 )
...
Stylistically this sentence is somewhat content-free (if the API is really "relatively straightforward", users can see that for themselves rather than us informing them of that fact...), and we don't want to encourage people to use undocumented methods (because we can't guarantee that the API for them will remain stable).
2017-01-28 00:11:52 +00:00
Kevin Whinnery
6402e56fb5
Update model_reference.rst
2017-01-26 20:05:35 +00:00
Chris Rogers
89e985d02a
added convenience method in_site and tests
2016-11-30 18:45:14 +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
d377f0c521
Add Page.objects.first_common_ancestor() method
2016-10-26 13:01:46 +01:00
Henk-Jan van Hasselaar
8a3c47f76a
Use get_admin_display_title in admin
2016-10-13 15:46:12 +01:00
Mikalai Radchuk
90552bedb5
Fix site ref in docs
2016-10-01 22:04:46 +03:00
Matt Westcott
8aa316c575
Correct description of 'title' class on FieldPanel - fixes #2990
2016-09-15 17:02:25 +01:00
Matt Westcott
b0aa210078
Recognise classname parameter on InlinePanel. Fixes #1316
2016-09-15 16:44:51 +01:00
dirtycoder
959723eddb
Create a panel to display informations about the submissions for form pages, fix #406
2016-09-01 15:22:30 +01:00
Matt Westcott
bdaf696cd2
Release note / docs for #2257
2016-06-10 14:26:30 +01:00
Karl Hobley
9dcc12ac55
Fix a typo in model reference
2016-05-10 14:28:34 +01:00
Tim Heap
facd66cf82
Use `code-block:: python` for a code example in docs
2016-05-08 04:59:34 +02:00
Philipp Dieter
d247fe9bf6
Fix name of ForeignKey object
2016-05-08 04:50:37 +02:00
Tim Heap
b727ec4064
Add documentation on the base_form_class attribute
2016-05-03 14:00:21 +01:00
Robert Rollins
11793f88c5
Changed indentation on all code samples to 4 spaces.
...
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Loïc Teixeira
33aad3957f
Fix internal links with anchors
...
Generating links with `link text <./path/to/doc#anchor>`__ does not work for html.
It produces a link to `./path/to/doc#anchor` instead of `./path/to/doc.html#anchor`.
It would be tempting to add `.html` before `#` but would likely cause some more issues
when generating the documentation as pdf or epub.
References on the other hand will work regardless of the output format.
2016-03-06 21:05:05 +00:00
Matt Westcott
7861c2b492
Add get_site and get_url_parts to the Page model reference docs
2016-03-01 12:11:14 +00:00
Matt Westcott
097f45f20b
Fix Page model recipes to pass 'self' as the page object ('page' is undefined)
2016-01-22 11:24:41 +00:00
Matt Westcott
88d1977d34
Document `site_name` attribute of Site - fixes #2099
2016-01-13 12:49:46 +00:00
Rich Brennan
11618f0c3d
Update content_panels and promote_panels.
...
If I'm right, the Echoer content_panels and promote_panels can be removed as they're defined on Page?
2015-12-03 18:55:01 +00:00
Tim Heap
0071d85aa0
Add Page methods `can_move_to` and `can_create_at`
...
These two tests are used when checking if a new page type can be created
under a page instance, or if an existing page type can move under a page
instance.
2015-12-03 12:56:52 +00:00
Matt Westcott
b1c75644f6
Stop replace_text from replacing multiple times on MTI subclasses.
...
Iterating over get_page_models means that these will be visited once
per superclass. To avoid this, we filter the page list to those exactly
matching the page class. This is done via a new `exact_type` method
on `PageQuerySet`.
2015-12-01 12:35:31 +00:00
Matt Westcott
c35ae95d9b
Document the remaining PageQuerySet methods
2015-11-30 22:16:08 +00:00
Matt Westcott
c025e1d3e5
Add a can_choose_root flag to PageChooserPanel.
...
This restores the previous behaviour, since there are plausible scenarios where choosing the root might be appropriate.
2015-11-02 15:12:42 +00:00
Karl Hobley
6eae465e64
Renamed "self" template variable to "page" in docs
2015-10-13 09:52:16 +01:00
Matt Westcott
c21800b7b0
Merge branch 'inline-panel-min-max' of https://github.com/kaedroho/wagtail into kaedroho-inline-panel-min-max
...
Conflicts:
wagtail/wagtailadmin/edit_handlers.py
2015-10-09 15:42:54 +01:00
Matt Westcott
7d67e4b448
Minor copyediting on the Pages docs
2015-10-05 21:07:09 +01:00
Karl Hobley
1b282d49bc
Work on "Page models"
2015-10-05 21:07:09 +01:00
Karl Hobley
e1bb391625
editing_api => panels
2015-10-05 21:07:08 +01:00
Karl Hobley
85414a8b54
Fixed headings
2015-10-05 21:07:08 +01:00
Karl Hobley
f72b8302f9
Moved "setting up the page editor interface" into topics
2015-10-05 21:07:08 +01:00
Tim Heap
bc6b5a8a6c
Normalise all code blocks in the docs
...
All `.. code::` instances have been changed to use `.. code-block::`,
and have been properly formatted. The syntax names have been normalised,
so all django templates use the `html+django` syntax, shell commands use
`sh`, and plain text uses `text`.
2015-10-05 16:55:58 +01:00
Tim Heap
5df60caef3
Rename `is_abstract` to `is_creatable`
...
`is_creatable` better reflects what it is used for, and stops any
confusion between Wagtail's `is_abstract` and Django's `Meta.abstract`.
`is_creatable` takes in to account `Meta.abstract` now, so developers
will no longer need to set both `is_abstract` and `Meta.abstract`.
Documentation for the new attribute has been added, as well as tests.
2015-09-04 09:59:01 +10:00
Matt Westcott
e60e57016e
Merge branch 'bug/tagged-snippets' of https://github.com/takeflight/wagtail into takeflight-bug/tagged-snippets
...
Conflicts:
docs/topics/snippets.rst
2015-09-03 12:18:25 +01:00
Matt Westcott
2ed16e3ee2
Update documentation to indicate that SnippetChooserPanel no longer requires a snippet_type argument
2015-08-28 10:57:31 +01:00
Matt Westcott
7076e06ce7
Documentation for #1621
2015-08-25 16:15:31 +01:00
Tim Heap
537502b521
Add documentation for tagging snippets
2015-08-24 10:22:02 +10:00
Matt Westcott
85707d5925
Revert "Multiple page types in page chooser"
2015-08-11 18:00:05 +01:00
Karl Hobley
337a979257
#1582 - Fix typo in model reference
2015-08-05 14:13:00 +01:00
Nick Smith
38ee0991e6
Update #1533 according to feedback: docs and error message changes
2015-08-03 18:08:20 +01:00
Karl Hobley
faabc18ce7
Docs for multiple page types in PageChooserPanel
2015-07-20 14:55:58 +01:00