Fix missing space typo in GroupPagePermission warning

stable/5.1.x
Sage Abdullah 2023-08-01 10:01:11 +01:00
rodzic 2ca6708db4
commit 10b8dab54e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
2 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -3012,7 +3012,7 @@ class GroupPagePermission(models.Model):
hint=(
"Replace the `permission_type` field in your GroupPagePermission fixtures with a natural key for the `permission` field. "
"If you create GroupPagePermission objects through other means, make sure to set the `permission` field instead of the `permission_type` field. "
"Any 'edit' value for the `permission_type` field must be replaced with a ForeignKey to the `wagtailcore.change_page` permission."
"Any 'edit' value for the `permission_type` field must be replaced with a ForeignKey to the `wagtailcore.change_page` permission. "
"The `permission_type` field will be removed in Wagtail 6.0."
),
obj=cls,

Wyświetl plik

@ -1203,7 +1203,7 @@ class TestPagePermissionModel(TestCase):
hint=(
"Replace the `permission_type` field in your GroupPagePermission fixtures with a natural key for the `permission` field. "
"If you create GroupPagePermission objects through other means, make sure to set the `permission` field instead of the `permission_type` field. "
"Any 'edit' value for the `permission_type` field must be replaced with a ForeignKey to the `wagtailcore.change_page` permission."
"Any 'edit' value for the `permission_type` field must be replaced with a ForeignKey to the `wagtailcore.change_page` permission. "
"The `permission_type` field will be removed in Wagtail 6.0."
),
obj=GroupPagePermission,