kopia lustrzana https://github.com/wagtail/wagtail
Chore: Typo fixed in multiple files
rodzic
e9d88528e7
commit
2307eb5681
|
@ -748,6 +748,7 @@
|
|||
* Chris Shaw
|
||||
* claudobahn
|
||||
* Florian Delizy
|
||||
* Susheel Thapa
|
||||
|
||||
## Translators
|
||||
|
||||
|
|
|
@ -129,7 +129,7 @@ def get_context_data(self, **kwargs):
|
|||
return context
|
||||
```
|
||||
|
||||
Thes `check_perm` method can be overridden to check if an object has some permission or not. Objects for which the `check_perm` returns `False` will be available in the context under the key `'items_with_no_access'`.
|
||||
The `check_perm` method can be overridden to check if an object has some permission or not. Objects for which the `check_perm` returns `False` will be available in the context under the key `'items_with_no_access'`.
|
||||
|
||||
```python
|
||||
def check_perm(self, obj):
|
||||
|
|
|
@ -105,7 +105,7 @@ Admin
|
|||
* Removed the need to add permission check on admin views (now automated)
|
||||
* Reversing ``django.contrib.auth.admin.login`` will no longer lead to Wagtails login view (making it easier to have frontend login views)
|
||||
* Added cache-control headers to all admin views. This allows Varnish/Squid/CDN to run on vanilla settings in front of a Wagtail site
|
||||
* Date / time pickers now consistently use times without seconds, to prevent JavasSript behaviour glitches when focusing / unfocusing fields
|
||||
* Date / time pickers now consistently use times without seconds, to prevent JavaScript behaviour glitches when focusing / unfocusing fields
|
||||
* Added hook ``construct_homepage_summary_items`` for customising the site summary panel on the admin homepage
|
||||
* Renamed the ``construct_wagtail_edit_bird`` hook to ``construct_wagtail_userbar``
|
||||
* 'static' template tags are now used throughout the admin templates, in place of ``STATIC_URL``
|
||||
|
|
|
@ -23,7 +23,7 @@ As part of a [wider redesign](https://github.com/wagtail/wagtail/discussions/773
|
|||
|
||||
Wagtail projects using the `wagtail.contrib.redirects` app now benefit from 'automatic redirect creation' - which creates redirects for pages and their descedants whenever a URL-impacting change is made; such as a slug being changed, or a page being moved to a different part of the tree.
|
||||
|
||||
This feature should be benefitial to most 'standard' Wagtail projects and, in most cases, will have only a minor impact on responsiveness when making such changes. However, if you find this feature is not a good fit for your project, you can disabled it by adding the following to your project settings:
|
||||
This feature should be beneficial to most 'standard' Wagtail projects and, in most cases, will have only a minor impact on responsiveness when making such changes. However, if you find this feature is not a good fit for your project, you can disabled it by adding the following to your project settings:
|
||||
|
||||
```python
|
||||
WAGTAILREDIRECTS_AUTO_CREATE = False
|
||||
|
|
|
@ -408,7 +408,7 @@ Above we have adjusted these attributes to add a 'change' event listener to trig
|
|||
|
||||
If you are using the `wagtail.admin.widgets.AdminAutoHeightTextInput` only, this change will have no impact when upgrading. However, if you are relying on the global `autosize` function at `window.autosize` on the client, this will no longer work.
|
||||
|
||||
It is recommended that the `AdminAutoHeightTextInput` widget be used instead. You can also adopt the `data-controller` attribute and this will now function as before. Alternativey, you can simply add the required Stimulus data controller attribute as shown below.
|
||||
It is recommended that the `AdminAutoHeightTextInput` widget be used instead. You can also adopt the `data-controller` attribute and this will now function as before. Alternatively, you can simply add the required Stimulus data controller attribute as shown below.
|
||||
|
||||
**Old syntax**
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue