0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 13:10:14 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
Matt Westcott
9d24ac4e39 Release note for CVE-2024-32882 in 6.0.3 2024-05-01 12:18:47 +01:00
Sage Abdullah
fd659ae767
Remove versionadded / versionchanged annotations for 6.0 2024-04-22 09:00:36 +07:00
Buraah
bfa29201c3 Docs - Page names & reference section - Update British spelling to American
- Changed all British spellings to American spellings, in the Customizing admin templates section of the docs
- Transferred all British spellings in the usage guide and advanced topics section to American spellings
- Update a series of other pages to use the spelling cutomize in the file name
Implemented all feedbacks on the usage guide and advanced topics section
2024-02-12 08:44:19 +10:00
Matt Westcott
c1ad975b3b Remove versionadded / versionchanged annotations for 5.2 2024-02-01 16:24:12 +00:00
LB Johnston
b81f369498 6.0 release - Add versionadded sections & release notes links 2024-01-24 13:54:48 +00:00
Shlomo Markowitz
7f6a2623d1 Add ability to use copy view for SnippetViewSet & ModelViewSet
Closes #10921
2024-01-24 22:47:34 +10:00
Cynthia Kiser
e4c80fd2c3 Allow ordering from IndexView to work but still be overridden by ordering set in ModelViewSet (#11367)
Fixes #11165
2024-01-23 14:14:32 +00:00
Andy Chosak
c109c661c1 Docs: Clarify appropriate use of MultipleChooserPanel
This documentation change clarifies that MultipleChooserPanel can only
be used when the inline model has a ForeignKey to a model that
implements Wagtail's chooser interface. Currently the docs mention
"a chooser for a ForeignKey relation" but it's not obvious how that
restricts which models can be pointed to or how to implement this for a
non-(image, document, snippet, page) model.

Relates to #10646.
2023-12-13 07:32:00 +10:00
Sage Abdullah
336ec6ea10
Render form using top-level panel if available in generic CreateView/EditView templates 2023-11-28 09:26:33 +00:00
LB Johnston
2e2e8f4452 Minor documentation formatting (Prettier) 2023-11-13 09:53:38 +11:00
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
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
LB Johnston
145e33de9d
5.2 release notes - add supporting links and fix typos 2023-10-20 10:13:27 +01: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
Albina
4f478a514b
Improve grammar, spelling, and punctuation in Extending Wagtail section (#9373) 2022-10-19 21:41:50 +01:00
Matt Westcott
7eefd98dc2 Revert chooser button labels to "Choose another X"
Fixes #9113
2022-09-14 07:40:38 +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
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
Matt Westcott
c4d6c7d6c5 Add docs for DRF-based choosers 2022-08-05 08:34:14 +10:00
Matt Westcott
4dd3483617 Add a (non-functional) 'create' form to generic chooser modal 2022-07-04 13:48:35 +01: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
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