kopia lustrzana https://github.com/wagtail/wagtail
clean up spelling of multi-site
rodzic
8cf8b6fd59
commit
9cf6d9b7e3
|
@ -541,7 +541,7 @@ Changelog
|
|||
* Added instructions on copying and aliasing pages to the editor's guide in documentation (Vlad Podgurschi)
|
||||
* Allow ListBlock to raise validation errors that are not attached to an individual child block (Matt Westcott)
|
||||
* Use `DATETIME_FORMAT` for localization in templates (Andrew Stone)
|
||||
* Added documentation on multi site, multi instance and multi tenancy setups (Coen Van Der Kamp)
|
||||
* Added documentation on multi-site, multi instance and multi tenancy setups (Coen Van Der Kamp)
|
||||
* Updated Facebook / Instagram oEmbed endpoints to v11.0 (Thomas Kremmel)
|
||||
* Performance improvements for admin listing pages (Jake Howard, Dan Braghis, Tom Usher)
|
||||
* Fix: Invalid filter values for foreign key fields in the API now give an error instead of crashing (Tidiane Dia)
|
||||
|
|
|
@ -37,7 +37,7 @@ To configure redirects head over to 'Redirects', which can be found in the Setti
|
|||

|
||||
|
||||
- Set _Redirect from_ to the URL pattern which is no longer available on your site.
|
||||
- Set the _From site_ if applicable (for eg: a multisite environment).
|
||||
- Set the _From site_ if applicable (for eg: a multi-site environment).
|
||||
- Check whether the redirect is _Permanent_ or temporary (unchecked).
|
||||
|
||||
As a last step you can either redirect to a new page within Wagtail **or** you can redirect the page to a different domain outside of Wagtail.
|
||||
|
|
|
@ -267,7 +267,7 @@ settings for the default site instead:
|
|||
|
||||
**Note:** You can not reliably get the correct settings instance for the
|
||||
current site from this template tag if the request object is not available.
|
||||
This is only relevant for multisite instances of Wagtail.
|
||||
This is only relevant for multi-site instances of Wagtail.
|
||||
|
||||
You can store the settings instance in a variable to save some typing,
|
||||
if you have to use multiple values from one model:
|
||||
|
|
|
@ -27,7 +27,7 @@ New features
|
|||
* Add Google Data Studio to the list of oEmbed providers (Petr Dlouhý)
|
||||
* Allow ListBlock to raise validation errors that are not attached to an individual child block (Matt Westcott)
|
||||
* Use ``DATETIME_FORMAT`` for localization in templates (Andrew Stone)
|
||||
* Added documentation on multi site, multi instance and multi tenancy setups (Coen Van Der Kamp)
|
||||
* Added documentation on multi-site, multi instance and multi tenancy setups (Coen Van Der Kamp)
|
||||
* Updated Facebook / Instagram oEmbed endpoints to v11.0 (Thomas Kremmel)
|
||||
* Performance improvements for admin listing pages (Jake Howard, Dan Braghis, Tom Usher)
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@ class TestContextProcessor(TemplateTestCase):
|
|||
self.default_settings.title,
|
||||
)
|
||||
|
||||
def test_multisite(self):
|
||||
def test_multi_site(self):
|
||||
"""Check that the correct setting for the current site is returned"""
|
||||
request = self.get_request(site=self.default_site)
|
||||
self.assertEqual(
|
||||
|
@ -219,7 +219,7 @@ class TestSiteSettingsJinja(TemplateTestCase):
|
|||
self.default_settings.title,
|
||||
)
|
||||
|
||||
def test_multisite(self):
|
||||
def test_multi_site(self):
|
||||
"""Check that the correct setting for the current site is returned"""
|
||||
context = {"site": self.default_site}
|
||||
self.assertEqual(
|
||||
|
|
|
@ -403,8 +403,8 @@
|
|||
"pk": 24,
|
||||
"model": "wagtailcore.page",
|
||||
"fields": {
|
||||
"title": "Home page multi site",
|
||||
"draft_title": "Home page multi site",
|
||||
"title": "Home page multi-site",
|
||||
"draft_title": "Home page multi-site",
|
||||
"numchild": 1,
|
||||
"show_in_menus": true,
|
||||
"live": true,
|
||||
|
@ -423,8 +423,8 @@
|
|||
"pk": 25,
|
||||
"model": "wagtailcore.page",
|
||||
"fields": {
|
||||
"title": "Events index multi site",
|
||||
"draft_title": "Events index multi site",
|
||||
"title": "Events index multi-site",
|
||||
"draft_title": "Events index multi-site",
|
||||
"numchild": 0,
|
||||
"show_in_menus": true,
|
||||
"live": true,
|
||||
|
|
Ładowanie…
Reference in New Issue