Wykres commitów

195 Commity (a6dcd8e06b1a0bd1518225eaed47e86d79130bd2)

Autor SHA1 Wiadomość Data
Matt Westcott ff44666c36 Add note that wagtailforms is not a replacement for Django forms (#3190) 2016-12-05 18:19:59 +00:00
Chris Rogers 89e985d02a added convenience method in_site and tests 2016-11-30 18:45:14 +00:00
Tim Heap 16213db0f8 Remove old versionadded notes
A step has been added to the release process notes to do this for future
releases as well.

https://github.com/torchbox/wagtail/wiki/Creating-a-new-Wagtail-release
2016-11-28 13:41:35 +00:00
Tim Heap 6ba34636cb Fix whitespace errors in docs
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap 254e675634 Use .. code-block:: console for all shell commands
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/>. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Andy Babic 23eced1fcd `Added support for 'exclude_from_explorer' attribute on ModelAdmin class 2016-11-23 16:51:08 +00:00
Albert O'Connor a5b544631b Update the Cloudflare backend to use the v4 API
Fixes #3146
2016-11-17 12:01:57 +00:00
Janneke Janssen 24eee6e41e [FIX] Cloudfront docs typo (#3143) 2016-11-08 09:42:46 +00:00
Tim Heap d377f0c521 Add Page.objects.first_common_ancestor() method 2016-10-26 13:01:46 +01:00
Andy Babic 78f67f8fdb * Gives the `result_row_display` control over the `<tr>` element for each row in `IndexView` by shifting the `<tr>` out of `result_list.html` and into `result_row.html`
* `result_row_display` adds a `data-object_pk` attribute to each row, to make items easier to identify with JS
* Adds `get_extra_attrs_for_row()` method to `ModelAdmin`, to give developers a way of adding further attributes to the `<tr>` element
2016-10-21 17:20:54 +01:00
Tom Dyson 512bf8936d single typo in Cloudfront docs (#3099) 2016-10-20 15:25:27 +01:00
Henk-Jan van Hasselaar 8a3c47f76a Use get_admin_display_title in admin 2016-10-13 15:46:12 +01:00
Gagaro 9710c292eb Added getters for templates in `AbstractForm` 2016-10-13 15:08:49 +01:00
Mikalai Radchuk 2e1c58a586 Release notes for #3047 2016-10-10 14:24:01 +03:00
Axel Haustant e893dd895b Allows to define custom site settings edit handler
Added site settings edit handler tests

Ensure proper setting rendering with tabs
2016-10-10 14:23:57 +03:00
Mikalai Radchuk 90552bedb5 Fix site ref in docs 2016-10-01 22:04:46 +03:00
Andy Babic 0c1b67bc16 Add documentation to help with customisation of `contrib.modeladmin` 2016-09-28 20:52:19 +01:00
riceyrice 5869bc37bb Allow configuration or override of QueryDailyHits garbage collection 2016-09-22 14:21:38 +01:00
Mikalai Radchuk fb93a6d6b9 Allow to limit access to form submissions (#3016)
Add the filter_form_submissions_for_user hook

Thanks @kaedroho for the code review and docs.
2016-09-22 14:36:39 +03:00
Matt Westcott 89f4699a91 Fix underlines 2016-09-19 13:51:04 +01:00
Matt Westcott 8aa316c575 Correct description of 'title' class on FieldPanel - fixes #2990 2016-09-15 17:02:25 +01:00
Matt Westcott b0aa210078 Recognise classname parameter on InlinePanel. Fixes #1316 2016-09-15 16:44:51 +01:00
Karl Hobley 4dc1ef05f8 Removed unused import from example
Thanks @timheap for spotting
2016-09-15 09:18:04 +01:00
Karl Hobley 8b9b2ced36 Docs for new hooks 2016-09-14 16:52:28 +01:00
Luiz Boaretto 24feca5333 Fix typo on modeladmin docs 2016-09-04 12:43:39 -03:00
Matt Westcott 1d5475672e Release note for #2577 2016-09-01 16:20:57 +01:00
dirtycoder 959723eddb Create a panel to display informations about the submissions for form pages, fix #406 2016-09-01 15:22:30 +01:00
Karl Hobley cdcdb4a4cd Update frontendcache.rst 2016-08-29 16:38:26 +01:00
Karl Hobley 692c4017f9 Changelog and release note for #1845 2016-08-29 15:24:53 +01:00
Rob Moorman df45c215a2 Added support for AWS CloudFront in Frontend cache invalidation module (#1845)
* added base cloudfrontbackend and testcase

* added boto3 cloudfront client

* implemented create invalidation method
added error handling botocore

* added aws docs

* fixed typo

* flake8 fixes

* added boto3 configuration docs

* removed return

* purge path instead of full url

* added multisite hostname mapping

* added validation of DISTRIBUTION_ID

* renamed Cloudfront to CloudFront

* added note to include www in mapping
added tests for cloudfront site mapping

* removed deprecated has_key, used in
fixed _create_invalidation

* changed type checking of dict
removed debug line of code to check hostname

* fixed dict type checking condition
added assert t make sure no invalid cache is being purged

* changed import order

* fixed isort error

* more detailed error message for cloudfront
pep8 fixes 120 chars per line

* Log missing cloudfront distribution id as info

Was logging as error, but it may be possible that a developer wants cloudfront on only specific hostnames.

* , => .

* Docs edits

* Removed hard-dependency on boto3
2016-08-29 15:15:27 +01:00
Matt Westcott 5dee12508d Mark django-medusa as no longer maintained 2016-07-29 15:54:52 +01:00
Matt Westcott bdd80dd33e Fix styling of email fields in AbstractEmailForm example (#2821)
classname="full" is incorrect here (it generates excessive padding); also, using a FieldRowPanel
can make the display neater.
2016-07-08 16:47:54 +03:00
Mikalai Radchuk 0b29ba80db Makes notes for settings module more visible (#2826) 2016-07-06 19:01:09 +03:00
Andreas Nüßlein 5b72f81327 mention edit_handler in this context (#2716) 2016-06-15 13:54:54 +01:00
Matt Westcott bdaf696cd2 Release note / docs for #2257 2016-06-10 14:26:30 +01:00
Andreas Nüßlein 8e6c9f555f Update staticsitegen.rst (#2647)
added python3 hint for http.server
2016-05-30 18:28:48 +01:00
Alex Gleason 8d5d29c2f3 Rename table_block.fields to table_block.blocks 2016-05-18 15:51:54 +01:00
Brad Busenius 53dfe6f5de Added documentation for table_block. 2016-05-11 15:16:06 +01:00
Karl Hobley e72b25f61c Make api_fields a list
All other model attribute settings in Wagtail use lists now. This commit changes the api_fields docs to use a list as well.

Both list and tuple work, but list is now the recommended option
2016-05-10 19:35:41 +03:00
Karl Hobley 9dcc12ac55 Fix a typo in model reference 2016-05-10 14:28:34 +01:00
Tim Heap facd66cf82 Use `code-block:: python` for a code example in docs 2016-05-08 04:59:34 +02:00
Philipp Dieter d247fe9bf6 Fix name of ForeignKey object 2016-05-08 04:50:37 +02:00
Tim Heap b727ec4064 Add documentation on the base_form_class attribute 2016-05-03 14:00:21 +01:00
Robert Rollins 7523d7f57f Removed all uses of STATIC_URL from code samples, replaced with static().
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.

I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins 11793f88c5 Changed indentation on all code samples to 4 spaces.
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Robert Rollins 1a9caccdcd The "code-block:: json" tag doesn't work for full HTML response text.
You get a lexer error from the document builder if you use "code-block:: json",
and the json-style highlighting ends up not being applied. So I switched it to
"code-block:: text".
2016-04-28 10:57:22 +01:00
Andy Babic dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
Karl Hobley b978fb826f Added --schema-only flag to update_index command 2016-04-12 16:21:46 +01:00
Karl Hobley 2e970f88ea Changelog and release note for #2451 2016-04-12 06:57:27 +01:00
Tim Heap 31d2d43d5b Add wagtail.contrib.settings.jinja2tags (#2451) 2016-04-12 06:49:32 +01:00