Wykres commitów

183 Commity (3834195f7965d5d11736a16b27822562d8208cf1)

Autor SHA1 Wiadomość Data
Matt Westcott 9917d7d2e9 Additional documentation for next_url 2020-07-15 11:53:39 +10:00
Kevin d75ab584c7 Fixing typos 2020-07-14 10:56:28 +01:00
Storm Heg 8c306910dd Fix incorrect urls in the docs 2020-07-06 13:15:40 +01:00
Storm Heg 4076b9ef5e Replace calls to django.conf.urls.url with django.urls.path or django.urls.re_path 2020-07-06 13:15:37 +01:00
Matt Westcott e9e6a8d5e7 Add more detail to RoutablePageMixin example (#6128) 2020-06-25 16:57:58 +01:00
Martin Sandström 301d1bc7f5 Add ability to import redirects from a file wagtail.contrib.redirects
* Add support for importing redirects via tsv, csv, xls and xlsx files
* Add import_redirects management command to redirects documentation
2020-06-07 11:20:39 +10:00
Coen van der Kamp a1a2c35c1c Template render richtext without wrapper, add wagtail.contrib.legacy.richtext
* Add wagtail.contrib.legacy.richtext with tests & docs
* Make RichText.__html__ behave the same as template filter
* Resolves #1214
2020-05-21 07:53:31 +10:00
Karl Hobley 58f6aecfc7
Some cleanups in PostgreSQL search module (#5953)
* Separated logic for extracting indexable content

* Docs edits

* Readability improvements

* Simplify/deduplicate indexing code

* Simplify search code

Pulled in some code that will be included in a future Django release
(query.py)

* Reword a limitation

* Fix typo in docstring

* Raise a warning when Boost() is used in PostgreSQL search backend

* Add note mentioning that RawSearchQuery can be replaced in Django 3.1

* Add comment mentioning that we can replace query.py if Django PR merged
2020-05-18 15:54:31 +01:00
Kalob Taulien b5f5ac10db
Add export_filename option to modeladmin
Merge pull request #6031 from wagtail/reports-filename
2020-05-15 10:04:57 -06:00
jacobtoppm cc676c4c9e Add export_filename option to modeladmin 2020-05-14 15:50:47 +01:00
Cameron Lamb 55476426db Fix typo in ModelAdminGroup example 2020-05-14 20:37:34 +10:00
Brylie Christopher Oxley ff37ad6ab9 Add 'add_redirect' static method to Redirect
* This method was inspired by a Lacey Williams Henschel (@williln) presentation at Wagtail Space US 2018, called  'What the Wagtail docs don't tell you'. https://www.youtube.com/watch?v=PCkxBNXWM64&t=1220s
* Add docs section reference/contrib/redirects
2020-05-10 18:48:33 +10:00
Andy Babic 4846a3e801 Add get_page_url() method to BaseSetting
* adds a convenience `page_url` shortcut to improve how page URLs can be accessed from site settings in Django templates
2020-05-03 15:14:41 +10:00
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