Haydn Greatnews
165c5c0ce5
Add date & datetime formatting to AbstractEmailForm + split out render_email method
...
* Rewrite AbstractEmailForm render to use cleaned_data
* Add date time formatting to AbstractEmailForm's render method according to Django settings SHORT_DATE_FORMAT and
SHORT_DATETIME_FORMAT
* Previously it was iterating over `form` which left no place to remove
data from the submission without removing the field from the form (which
is inadvisable, as discussed on #4313 )
* Preserve order of fields in form emails using cleaned data
* Add a test for consistent date rendering in email forms
* update form customisation examples and add note about date / time formatting in email form usage (docs)
* resolves #3733
* resolves #4313
2020-04-26 20:25:48 +10:00
Andy Babic
db8ab0875d
Update BaseSetting to make it easier to utilise QuerySet.select_related() for more complex settings which reference related objects (such as pages)
2020-04-03 22:01:08 +01:00
Andy Babic
18118f54b6
Update docs
2020-04-03 21:28:13 +01:00
jacobtoppm
fbead4549b
Add documentation for spreadsheet format setting and new modeladmin features
2020-03-13 17:33:20 +00:00
Andy Chosak
17e09fee76
Fix quotes in ModelAdmin documentation
...
Building the docs currently generates a warning:
wagtail/docs/reference/contrib/modeladmin/indexview.rst:423: WARNING: Could not lex literal_block as "python". Highlighting skipped.
This is due to use of backticks instead of single quotes on this page:
https://docs.wagtail.io/en/v2.8/reference/contrib/modeladmin/indexview.html#modeladmin-get-queryset
In practice this doesn't seem to actually break highlighting, but it's still good to fix.
2020-03-04 13:21:53 -05:00
dt
a6fb0762a8
Mention options for schema in sitemap
...
Add clear way to change schema in `sitemap.xml` to https on `sitemap`
documentation page
2020-02-25 21:33:21 +00:00
Matt Westcott
4950158e46
Remove remaining references to request.site
2020-02-17 12:06:19 +00:00
Dan Swain
749d0172e5
Documentation - include {{ block.super }} example in modelAdmin
2019-12-02 09:43:33 +10: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
Andreas Bernacca
3fd3d97850
Add model to PersonAdmin in documentation
2019-10-16 10:54:05 +01:00
Matt Westcott
a0035c33c0
Add example of template rendering to TableBlock docs
...
Addresses #5540
2019-10-12 09:29:10 +10: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
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
DanAtShenTech
f4d3025022
Wording fixes to column/row header descriptions
...
Also small grammar updates.
2019-04-03 20:22:29 +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
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
Matt Westcott
d731ea6c9f
Add missing null=True and imports to modeladmin example code
2019-01-10 10:59:05 +00:00
Alex Gleason
e5f9c122ab
Use better examples in ModelAdmin docs, add info about FieldPanels
2018-11-30 13:11:53 +00:00
Sergey Fedoseev
47465197a9
Use intersphinx for Django references when possible. ( #4896 )
2018-11-14 11:48:32 +00:00
Sergey Fedoseev
8f8faf3c60
Fixed some formatting in 'Customising IndexView' doc. ( #4877 )
...
* Fixed some formatting in 'Customising IndexView' doc.
* Make coverage omit docs/conf.py.
2018-10-30 12:29:11 +00:00
Sergey Fedoseev
29c8ad6637
Fix reference in ModelAdmin.ordering docs.
2018-10-30 12:23:17 +00:00
Jorge Barata
8161d7c14c
Fix get_permission_helper_class documentation typo
2018-10-16 11:29:05 +01:00
Matt Westcott
6454e500ab
Fix module path (wagtailforms.models should be wagtail.contrib.forms.models)
2018-09-21 10:53:51 +01:00
Michael van Tellingen
bad95cf37c
Optimize the querycount for the sitemap.xml page
...
By optionally passing the request object to Page.get_sitemap_urls() it
will now use the cached site root on the request object instead of
retrieving it for each call. This cuts the number of queries required
for a sitemap roughly in half.
2018-07-10 16:53:19 +01:00
DanAtShenTech
53881ebd0b
Small wording, spelling, grammar edits ( #4543 )
2018-05-18 14:59:06 +01:00
DanAtShenTech
f58e85fa0f
Fix wording
2018-05-18 14:55:29 +01:00
Victor Miti
c38b172793
updated Django Docs Links to point to *docs.djangoproject.com/en/stable/*
2018-05-18 14:43:42 +01:00
Matt Westcott
3fc9ed5119
Remove old versionadded/versionchanged notes
2018-05-18 11:43:28 +01:00
Matt Westcott
5ce14841d8
Remove ancient versionchanged notes
2018-05-15 14:54:41 +01:00
Andy Babic
d0670da61b
Fix minor typo in modeladmin docs ( #4509 )
...
add_to_setings_menu -> add_to_settings_menu
2018-05-02 18:11:01 +03:00
pyMan
b3fa09b95e
Improved 'purge_page_from_cache' to purge the url for any managed language
2018-04-18 11:28:23 +01:00
DanAtShenTech
950e77d2aa
Wording change requested by Matthew Westcott
2018-04-11 13:22:45 +01:00