Karl Hobley
5f68627950
Merge branch 'master' into author-specific-locking
2019-11-26 15:55:49 +00:00
Karl Hobley
23145382e9
Move settings reference into separate doc
2019-11-20 17:39:46 +00:00
Tom Usher
644ee86e00
Add support for cloudflare API tokens ( #5688 )
2019-11-19 14:47:52 +00:00
Martey Dodoo
229103ff2e
Update links in documentation. ( #5689 )
...
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
Matt Westcott
8577cc2d02
Remove old versionadded tags in the docs
2019-10-29 08:56:12 +00:00
Karl Hobley
ed32bc8444
fixup! Record time and user when a page is locked
2019-10-28 11:16:54 +00:00
Karl Hobley
67213d7286
Record time and user when a page is locked
2019-10-16 14:26:04 +01:00
Andreas Bernacca
3fd3d97850
Add model to PersonAdmin in documentation
2019-10-16 10:54:05 +01:00
Matt Westcott
34b3f0c0fc
Recommend signals rather than hooks for model-level customisations
...
As per #5620 - signals are often overlooked as a way of customising model-level behaviour. We should recommend them over admin hooks where possible, as they aren't reliant on users taking one particular path through the admin - for example, an 'add document' signal will be triggered regardless of whether a document is created through the single uploader, multiple uploader, chooser model or a scripted task, whereas a hook would not catch all of these cases.
2019-10-15 13:52:32 +01:00
Matt Westcott
a0035c33c0
Add example of template rendering to TableBlock docs
...
Addresses #5540
2019-10-12 09:29:10 +10:00
Matt Westcott
3557c954c0
Clarify that menu item order attribute is ignored in construct_page_action_menu
2019-10-11 12:17:52 +01:00
Matt Westcott
6de06b6d04
Update construct_page_action_menu example
...
Now avoids redefining the whole list, and reflects the fact that the first (rather than last) item is picked as the default.
2019-10-11 12:11:09 +01:00
Rahmi Pruitt
fe2f8644fa
Allow default item in action menu to be overridden with construct_page_action_menu hook
...
Fixes #5438
2019-10-11 12:11:08 +01:00
Matt Westcott
76d72a36c3
Documentation tweaks for WAGTAILDOCS_SERVE_METHOD
...
As suggested by @chosak - https://github.com/wagtail/wagtail/pull/5296#discussion_r324252497 , https://github.com/wagtail/wagtail/pull/5296#discussion_r324257167
2019-09-21 18:53:48 +01:00
Zac Connelly
a19571db7a
update docs for TabbedInterface ( #5374 )
2019-08-29 11:23:13 +01:00
Matt Westcott
227221f7fb
Update docs with new locations of wagtail.admin.utils definitions
2019-08-19 18:58:56 +02:00
rjpruitt16
f7ff6d39c4
Add caption field to TableBlock
...
* Create caption field added to table block widget
Caption allows for users users with screen readers to be
able to understand the contents of a table.
* Fixed bugs in javascript and typos
* Updated documentation and change log
* Fixed table caption bug and requested pr edits
* Fixed table caption bug and request pr edits
* Removed changes in changelog.txt
* Fixed bug and requested PR edits
2019-08-14 22:17:25 +02:00
Michael van Tellingen
9cd2fc2c82
Add a `construct_page_listing_buttons` hook
...
This hook mimics the functiolity provided by `construct_page_action_menu`
in that it constructs the final list of buttons to be shown in the wagtail
admin interface. This means that within this function button's can be
removed, added or re-ordered.
See #4925
2019-07-21 17:40:26 +10:00
jordan_bauer
0dac8f0764
added construction_hook_name to settings_menu ( #5384 )
2019-06-25 12:04:53 +01:00
Karl Hobley
d008cc7e21
Implement Page.with_content_json and add to docs ( fixes #5199 )
2019-06-20 16:24:04 +01:00
kevinhowbrook
e8c64e593d
Missing class imports
2019-06-11 11:53:19 +01:00
Andy Babic
13b485a2a9
Fix sphinx errors
2019-06-08 18:27:42 +01:00
Seb
b839bd65bb
Add support for custom search handler classes to ModelAdmin's IndexView
...
Author: Seb <seb@takeflight.com.au>
Date: Sun Apr 7 12:34:00 2019 +1000
2019-06-08 17:57:24 +01:00
LB (Ben Johnston)
ddbbbe4417
Revise wording of static resources usage in modeladmin documentation
...
Small wording revision
Merge pull request #5295 from DanielSwain/patch-35
2019-05-23 07:25:12 +10:00
Kalob Taulien
9489cb0758
Added ButtonHelper example code
2019-05-23 07:18:50 +10:00
DanAtShenTech
ad7af7e191
Small wording revision
2019-05-13 14:09:18 -04:00
Adam
22e9e71ca7
Updated Page Chooser Panel ForeignKey
...
Needs a related_name
2019-05-10 14:41:09 +01:00
David Beitey
602cd50d18
Add Django models import to Site Settings docs
2019-05-03 17:11:27 +01:00
Samuel Mendes
352fa37dda
Add documentation on supporting cell alignment
2019-05-03 13:51:51 +01:00
Samuel Mendes
ba78df06bc
Upgrade handsontable to 6.2.2 and documentation
2019-05-03 13:36:51 +01:00
DanAtShenTech
751c666037
Grammar fixes
2019-04-12 16:24:20 +01:00
Nick Smith
21fc3d7679
Fix hooks documentation typo
2019-04-11 10:27:54 +01:00
DanAtShenTech
f4d3025022
Wording fixes to column/row header descriptions
...
Also small grammar updates.
2019-04-03 20:22:29 +01:00
LB Johnston
46c024ba06
add name attribute to all derived classes of ActionMenuItem
2019-03-29 11:48:15 +00:00
Wesley van Lee
c831d434ab
Added an option to the page model to be able to define the amount of subpages underneath a specific parent page
2019-03-15 18:14:05 +01:00
Andy Babic
b2eee20e1b
Move reversing_urls.rst into a subdirectory with it's own index, and include that index in the modeladmin docs' main toctree
2019-03-14 09:48:02 +01:00
LB Johnston
fc21729a24
add docs with instructions on how to generate urls for modeladmin
2019-03-13 07:41:34 +10:00
Thomas Kremmel
4e8f197a9d
allow panels & edit_handler to be defined on ModelAdmin ( #4900 )
2019-03-06 12:26:20 +00:00
Matt Westcott
61e1e4c2f9
Add 'wagtail_update_index' as an alias for the 'update_index' command ( #5009 )
...
Fixes #2447
2019-03-01 11:01:41 +00:00
Matt Westcott
34d7efe4e3
Add note to clarify that construct_homepage_panels should modify the ist in place
2019-02-27 14:56:40 +00:00
Neil Lyons
f10c5cab58
Update docs for construct_homepage_panels hook ( #5109 )
...
`construct_homepage_panels` hook doesn't need a return statement.
[Looking at the code](https://github.com/wagtail/wagtail/blob/master/wagtail/admin/views/home.py#L101-L102 ), the user doesn't need to return a list, they need to mutate the list passed in.
2019-02-27 14:50:01 +00:00
Matt Collins
37a472834a
Update legacy wagtail.wagtailadmin paths ( #5090 )
...
Update legacy wagtail.wagtailadmin paths to wagtail.admin
2019-02-19 10:49:15 +00:00
DanAtShenTech
56f29a0825
Clarify explanation of ParentalKey within InlinePanel ( #5070 )
...
Make it clear that the relationship to relate a cluster of objects to a page is called ParentalKey.
2019-02-13 16:32:22 +00:00
Vladimir Knobel
a0d6dbb5f4
Update primer.rst ( #5068 )
...
path to overriding template doesn't match model name
2019-02-13 15:16:44 +00:00
DanAtShenTech
dbb7ec77b3
Fix index_view_class in primer.rst
...
Fix the "index_view_class=" reference. Small grammar fixes.
2019-02-08 17:32:57 +00:00
DanAtShenTech
f1e3e2e379
Update primer.rst ( #5061 )
...
Small wording clarifications.
2019-02-08 17:26:26 +00:00
DanAtShenTech
c9be245b0f
Update primer.rst ( #5062 )
...
Small grammar fixes
2019-02-08 17:02:30 +00:00
ed@sharpertool.com
f39f018ebf
Update hooks.rst ( #5044 )
...
Document and Image fields changed from `uploaded_by` to `uploaded_by_user`
2019-01-31 12:22:25 +00:00
Matthew Linares
a0b4efd414
Recipe: automatic redirect creation on url edit ( #5002 )
2019-01-24 14:06:44 +00:00
Matt Westcott
d731ea6c9f
Add missing null=True and imports to modeladmin example code
2019-01-10 10:59:05 +00:00