Wykres commitów

62 Commity (254e675634b6acce482722b423c357f5eeb4c120)

Autor SHA1 Wiadomość Data
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
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
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
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
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
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
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 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
Charlie Hornsby 5cb7ae01f6 FIx incorrect paginator label in example code (#2468) 2016-04-10 11:06:51 +01:00
Tomas Olander 10e564b935 Fix site settings docs for setting an icon
The "icon-" prefix is automatically added in SettingMenuItem.
Using "icon-placeholder" as suggested would thus result in
the CSS class "icon-icon-placeholder".
2016-04-01 10:50:03 +02:00
Chris Rogers 5e589d6376 Minor adjustment to settings docs 2016-02-04 22:18:55 +00:00
Mitchel Cabuloy d09d403d54 Fix frontend cache code example 2016-01-31 13:21:57 +08:00
Karl Hobley 13217dd6ef WAGTAILAPI_MAX_RESULTS is actually called WAGTAILAPI_LIMIT_MAX
Fixes #2156
2016-01-27 11:21:06 +00:00
Matt Westcott 04fdd5f352 Remove Django 1.7 support from documentation, requirements and CI definitions 2016-01-05 17:38:29 +00:00
Karl Hobley 9d3e068b0c Use Django 1.8 TEMPLATES setting in settings doc
Also, the ``request`` context processor is now in the defaults
2015-12-16 09:29:17 +00:00
Maris Serzans 32b4124767 Changed verbose names to start with lowercase when necessary 2015-12-08 17:33:19 +00:00
Rich Brennan ce57281f6a Move content_panels inside FormPage definition. 2015-11-24 10:36:30 +00:00
Matt Westcott 42af5c10af Merge branch 'merge-settings' of https://github.com/takeflight/wagtail into takeflight-merge-settings 2015-10-23 10:31:27 +01:00
Matt Westcott 33e4a7497f Release note / documentation update for #1790 2015-10-22 17:23:17 +01:00
Tim Heap c9f73d3157 Fix typo in settings docs 2015-10-21 16:39:09 +11:00
Tim Heap 3d494fb24b Move wagtailsettings into contrib module
The `wagtailsettings` module is useful enough that it should be included
in the Wagtail contrib section, to make it available to all Wagtail
developers.

All the code has been given a once-over to make sure it is nice and
polished before being copied in. As such, this is not a direct copy of
the `wagtailsettings` module. It should be backwards compatible though,
excepting the new location.

It has been moved to `wagtail.contrib.settings`, following the naming
scheme set out in #1504.

Documentation has been concatenated in to a single page, and added to
the contrib reference section.
2015-10-21 16:39:09 +11:00
Karl Hobley 6eae465e64 Renamed "self" template variable to "page" in docs 2015-10-13 09:52:16 +01:00
Tim Heap bc6b5a8a6c Normalise all code blocks in the docs
All `.. code::` instances have been changed to use `.. code-block::`,
and have been properly formatted. The syntax names have been normalised,
so all django templates use the `html+django` syntax, shell commands use
`sh`, and plain text uses `text`.
2015-10-05 16:55:58 +01:00
Josh Barr 221a3e5254 added docs about hostnames 2015-09-27 01:41:52 +12:00
Karl Hobley 459a8c8b44 Renamed searchpicks app to searchpromotions 2015-07-21 13:37:42 +01:00
Karl Hobley 0710facc03 {% get_search_picks %} => {% get_search_promotions %} 2015-07-21 13:37:42 +01:00
Karl Hobley 669c7ac34c Docs for searchpicks module 2015-07-21 13:37:42 +01:00
Karl Hobley d3b9779141 Docs for descendant_of API filter 2015-07-15 09:57:53 +01:00
Karl Hobley 369d2d437a Merge pull request #1422 from kaedroho/routablepage-docs-improvements
Improvements to RoutablePage docs
2015-06-24 09:52:29 +01:00
Karl Hobley 0ed4e26d63 Merge pull request #1423 from kaedroho/staticsitegen-example-fix
Update staticsitegen example to use new RoutablePage syntax
2015-06-19 11:40:49 +01:00