LB Johnston
28013470a7
Documentation - clean up white space
2022-10-27 07:18:22 +10:00
Precious Arinda
3b6acf036d
Documentation - update hooks.py to wagtail_hooks.py ( #9462 )
...
- Fixes #9453
2022-10-25 21:40:51 +10:00
Albina
4f478a514b
Improve grammar, spelling, and punctuation in Extending Wagtail section ( #9373 )
2022-10-19 21:41:50 +01:00
Oliver Parker
19fd2ceb98
Add ability to check permission on parent PanelGroup
class
...
- Used by TabbedInterface, ObjectList, FieldRowPanel, MultiFieldPanel
2022-10-18 09:53:13 +10:00
zobbs
5ea291da1a
Documentation - fix some escaped content that does not need escaping
2022-10-13 17:34:46 +10:00
LB Johnston
2e8709e0d6
Documentation - update dead/redirected links
2022-10-11 20:44:08 +10:00
Sage Abdullah
48761ef5a9
Update docs for renaming publish_scheduled_pages command to publish_scheduled
2022-09-29 10:28:36 +01:00
LB Johnston
0e036d228f
Add changelog entry for 4.0 - bulk actions for snippets #8574
...
- also add Shohan to contributors list
- resolves #8183
2022-09-19 19:40:46 +10:00
Nicholas Johnson
9e810ce5b0
Make report titles sentence case consistently
...
Fix a few more "Locked Pages" references
2022-09-16 07:04:46 +10:00
Matt Westcott
7eefd98dc2
Revert chooser button labels to "Choose another X"
...
Fixes #9113
2022-09-14 07:40:38 +10:00
Thibaud Colas
a1bff1bcbd
Update all documentation images except editor manual
2022-09-12 21:57:43 +10:00
ariadi
4a6e744d34
Update admin_views.md
...
typo method from `format_month(current_year, current_month)` to `formatmonth(current_year, current_month)`
2022-08-22 12:52:04 +10:00
Matt Westcott
b4bc681865
Fix DocumentChooserBlock deconstruction for custom document models
...
Fixes #8989 . The previous fix #9004 failed for custom document models because ChooserViewset assigns an internal name for the ChooserBlock class based on the model name, and if this is anything other than Document it won't match the name DocumentChooserBlock that it's exposed under in wagtail.documents.blocks. Fix this by replacing the `block_class` property with a `get_block_class` method that lets us specify the class name. As a bonus, user code that defines chooser blocks no longer has to directly hack the `__module__` attribute.
2022-08-16 20:50:04 +01:00
LB Johnston
666cc5e8e5
fix up legacy release note refs & use consistent format
...
- fix some broken refs that were lost in the migration to markdown files
- use lower_snake_case for all internal refs (most follow this convention)
- release process sub-section in docs should be named release schedule instead
2022-08-16 12:42:42 +01:00
Matt Westcott
a6a94a9a04
Ensure DocumentChooserBlock can be deconstructed for migrations
...
Fixes #8989 . Now that DocumentChooserBlock is constructed dynamically via wagtail.documents.viewsets.chooser, we need to explicitly set its `__module__` attribute so that the result of calling `deconstruct()` for migrations points back to the wagtail.documents.blocks module.
Also update the documentation for defining custom choosers, and add tests for deconstructing the other chooser blocks.
2022-08-15 15:38:54 -04:00
LB Johnston
9321cd9404
documentation - extending generic views - fix typo
...
- closing ``` (backticks) were missing
2022-08-12 17:20:24 +10:00
Thibaud Colas
21b5ad5ce9
Update chooser styles across all types
2022-08-10 15:08:57 +10:00
Matt Westcott
f9fe6d0ca8
Documentation for generating chooser blocks via ChooserViewSet
2022-08-10 14:53:41 +10:00
Thibaud Colas
eac5e0bc2c
Finish re-implementing form styles based on design feedback & code review
...
Co-authored-by: LB Johnston <mail@lb.ee>
2022-08-05 10:36:52 +02:00
Matt Westcott
c4d6c7d6c5
Add docs for DRF-based choosers
2022-08-05 08:34:14 +10:00
LB Johnston
2bb18d7703
remove duplicate custom bulk actions docs
...
- introduced in #8574
- move snippets bulk actions docs to existing markdown docs variant
2022-07-20 17:10:45 +10:00
Dolidodzik
b131b4813e
replace latin abbreviations with english phrases & updated docs guidelines
...
- added sub-section to language part of general_guidelines.md
- fixes #8860
2022-07-20 16:11:38 +10:00
Shohan
7286c530e9
Snippets bulk actions ( #8574 )
2022-07-10 11:42:38 +01:00
Matt Westcott
4dd3483617
Add a (non-functional) 'create' form to generic chooser modal
2022-07-04 13:48:35 +01:00
SilvestriStefano
f535a0cc43
Documentation - migrate reference/** files to markdown content
...
- relates to #8383
2022-06-30 09:57:26 +10:00
Matt Westcott
b8a9a2d319
Deprecate wagtail.contrib.modeladmin.menus.SubMenu in favour of wagtail.admin.menu.Menu
...
The Menu class was not originally designed to accept menu items at constructor time (instead requiring them to be passed via hooks); ModelAdmin's SubMenu class patched this functionality in, and the documentation for extending admin views piggybacked on this. Add this functionality to the base Menu class so that we don't have this unnecessary dependency on ModelAdmin.
2022-06-28 16:32:15 +10:00
LB Johnston
58095cde30
documentation minor fixes
2022-06-23 08:12:07 +10:00
Matt Westcott
911f17bf8f
Typo in generic views docs - People -> Person ( #8720 )
2022-06-21 17:11:56 +01:00
Noble Mittal
0be024e024
documentation - migrate docs/extending/ to md
2022-06-20 16:36:25 +10:00
Nick Moreton
eec8c0088d
Update example code - Adding a group of menu items ( #8683 )
2022-06-16 12:01:06 +02:00
Matt Westcott
865df1153b
Documentation for ChooserViewSet
2022-06-12 15:47:24 +10:00
Matt Westcott
b00d19b3a0
Documentation for ModelViewSet
2022-06-12 15:47:24 +10:00
Matt Westcott
b4d3cf1c30
Docs for base ViewSet class
2022-06-12 15:47:24 +10:00
LB Johnston
d9981e0ec7
fix up spelling in documentation & docstrings (should be en-GB not en-US)
...
- customize -> customise
- color -> colour
- customizing -> customising
- organize -> organise
2022-05-13 08:13:06 +10:00
Cynthia Kiser
399a34bc93
Make nested list render as a nested list ( #8516 )
2022-05-11 09:05:02 +01:00
Matt Westcott
37784643e9
API docs for Panel
2022-04-22 17:25:30 +01:00
Matt Westcott
06abc49712
Add documentation for the panel rendering mechanism
2022-04-22 17:25:30 +01:00
Harris Bard Lapiroff
1adc82c044
Add trimmed to blocktrans tags. Fix #8217 ( #8226 )
2022-04-01 23:16:51 +01:00
Karl Hobley
75cc7da38a
Move wagtail.core to wagtail
2022-03-17 17:19:59 +00:00
LB (Ben Johnston)
6ed65f14c6
Move Markdown docs to MyST parser. Fix #8074 ( #8084 )
2022-03-09 11:48:19 +00:00
Matt Westcott
92cc026694
Rename docs page to 'Using forms in admin views'
2022-03-02 15:55:25 +00:00
Matt Westcott
786a4a3384
Provide a documented register_form_field_override method for apps to register their own form fields with WagtailAdminModelForm
2022-03-02 15:55:25 +00:00
LB Johnston
6ecdc16bd4
remove Hallo references in the documentation
2022-03-02 20:15:33 +10:00
Thibaud Colas
c5d2f98205
Remove redundant noopener from noreferrer rel attributes
2022-02-15 16:31:57 +00:00
Thibaud Colas
ae14fa6e76
Remove JS compatibility code for IE11
2022-02-15 16:31:57 +00:00
Jannis Vajen
7e6755ec62
Add missing import statement in code example
2022-02-13 16:33:46 +00:00
Jake Howard
4718fae68b
Update email addresses for new .org domain ( #7845 )
2022-01-28 12:16:24 +00:00
Sævar Öfjörð Magnússon
bab1f44aed
Adding documentation for grouped custom menu items ( #7872 )
2022-01-21 10:03:35 +00:00
Jake Howard
0a9b23979b
Update links to wagtail.io website to point to wagtail.org
...
This covers only links to the website, not other sites
2022-01-15 20:23:44 +10:00
Tibor Leupold
783f0d4a16
Update the mentioning of default_app_config
in the docs
2021-12-20 18:09:32 +00:00