Sage Abdullah
31334f212f
Refer to ModelViewSet docs for similar SnippetViewSet customisations
2023-10-31 17:25:21 +00:00
Sage Abdullah
f034d02bac
Add docs for ModelViewSet customisation in generic views extending guide
2023-10-31 17:25:21 +00:00
Sage Abdullah
c9514345d9
Move viewset intro in generic views docs to the base ViewSet
usage docs
2023-10-31 17:25:21 +00:00
Sage Abdullah
b258b99c86
Improve linking between viewset reference and extending docs
2023-10-31 17:25:21 +00:00
Sage Abdullah
b60763d8c8
Document how to use the base ViewSet
and ViewSetGroup
classes
2023-10-31 17:25:21 +00:00
Sage Abdullah
622b71654c
Document register_admin_viewset
hook
2023-10-31 17:25:21 +00:00
Sage Abdullah
07e41db2d5
Move chooser-related headings to under ChooserViewSet
2023-10-31 17:25:21 +00:00
Temidayo
69d30e2749
Helpful addition to Developer Docs on Extending Draftail ( #11057 )
...
Ensure hooks imports are added to the code snippets
2023-10-26 09:42:14 +10:00
LB Johnston
4a0ab8bf0a
Add cross ref to InlinePanel
DOM events in client-side docs
...
- See #10590 & #10948
2023-10-24 18:36:37 +11:00
LB Johnston
145e33de9d
5.2 release notes - add supporting links and fix typos
2023-10-20 10:13:27 +01:00
LB Johnston
8002e75775
Documentation - Add initial Stimulus docs
...
- Move extending React to new extending client-side page within advanced topics
- Add general extending JavaScript / client-side overview
- Prepare initial Stimulus usage documentation
- Resolves #10197
- Apply suggestions from code review - Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-10-19 07:28:27 +01:00
Susheel Thapa
2307eb5681
Chore: Typo fixed in multiple files
2023-10-17 21:07:37 +11:00
LB Johnston
1c4e69dbce
Add better docs & cross-linking for how PanelGroup permission kwarg works
...
Adds more details on how to use the feature added in #8846
2023-10-09 22:50:11 +11:00
Charlie Sue
86ed0ab9f7
Docs - Add note about including the feature in text editor settings
2023-10-02 09:12:33 +11:00
Matt Westcott
6009903c55
Support passing extra context variables via the {% component %} tag
2023-09-20 07:46:39 +10:00
Matt Westcott
b6bd047598
Add documentation for non-model choosers using queryish ( #10863 )
2023-09-07 11:27:10 +01:00
Matt Westcott
8223162c93
Add documentation for linked_fields
2023-09-06 15:58:36 +01:00
Thibaud Colas
f4ea0156a2
Implement new Draftail customisation APIs
...
- Fixes #5580
- Remove TSLA/TWTR/BTC references and replace with clean energy FSLR / NEE stocks
2023-07-06 13:14:54 +10:00
LB Johnston
6491ae49ce
Docs - Align on client-side & fix Draftail typos
...
- Prep for #10197
- Fix a few cases where Draftail was spelt incorrectly
- Align with `client-side` not `clientside` as this is used most commonly
- fix javascript code snippet
2023-07-03 19:18:44 +10:00
Daniel Kirkham
17230d183a
Add ordering for group editor object permissions
...
- Ensure the sorting will preserve Django's Permission model ordering as per ordering = ["content_type__app_label", "content_type__model", "codename"]
- `ordering = ["content_type__app_label", "content_type__model", "codename"]`
- Closes #10468
2023-06-22 08:11:04 +10:00
LB Johnston
96a494581c
Documentation - clean up last two internal refs to use underscore
...
- As per https://docs.wagtail.org/en/latest/contributing/documentation_guidelines.html#reference-links - refs should be `lower_snake_case`
2023-06-19 15:18:02 +01:00
LB Johnston
fd83bedd72
Docs - fix typo in Django forms reference
2023-06-15 07:52:52 +10:00
LB Johnston
d5bd828b8e
Docs - update Django urls to shorthand method
2023-06-01 16:50:03 +01:00
Sage Abdullah
0c075fb8de
Replace mentions of ModelAdmin with their snippets equivalent
2023-05-24 11:06:00 +01:00
Matt Westcott
4a47bc611b
Remove old versionadded / versionchanged notes
2023-04-21 13:47:10 +01:00
Thibaud Colas
c2c37ab143
Update documentation referring to icon class names
2023-04-12 11:51:00 +01:00
sheepman4267
04cca97f09
Fix typo in "Extending Draftail" docs ( #10185 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-03-07 10:11:45 +00:00
Coen van der Kamp
619f395980
Add new "Icons" page for icons customisation and reuse across the admin interface ( #6028 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2023-02-10 07:22:45 +00:00
Matt Westcott
18a574b520
Remove old versionadded / versionchanged directives from docs
2023-02-08 14:25:09 +00:00
LB Johnston
8908c38dcd
Documentation - fix up ModelAdmin items
...
- Link to ModelAdmin showed incorrectly as `Index app` not `ModelAdmin app`
- Many code snippets were nested, causing double nesting to appear in published docs
2023-02-06 10:26:46 +00:00
Sage Abdullah
ad3ef5875d
Update docs and changelog to reflect changes for #9817
2023-01-19 14:52:34 +00:00
Rishabh Jain
959a802c76
Updated documentation for adding reports to cover permission restrictions ( #9859 )
2023-01-09 14:14:53 +00:00
Loic Teixeira
5c1c2c8f53
Enforce the use of a single string formatting mechanism for translation source strings
...
Close #9377
2022-11-26 11:00:05 +01:00
Coen van der Kamp
26f5a4fcb1
Move custom image filter to extendig Wagtail section
2022-11-20 08:03:33 +10:00
ChickenF622
4ee7a633b6
Add clarification on where to register entity plugins ( #9487 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 11:24:08 +00:00
Marvis Chukwudi
b9a5f9e333
Documentation - Minor punctuation and capitalisation fixes ( #9508 )
2022-11-01 20:42:54 +10:00
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