come celebrate the independence of Ameristralia
", + "cost": "Free" } }, @@ -265,6 +296,16 @@ ] } }, +{ + "pk": 6, + "model": "auth.group", + "fields": { + "name": "Admin non-editors", + "permissions": [ + ["access_admin", "wagtailadmin", "admin"] + ] + } +}, { "pk": 1, "model": "wagtailcore.grouppagepermission", @@ -400,6 +441,24 @@ "email": "siteeditor@example.com" } }, +{ + "pk": 6, + "model": "auth.user", + "fields": { + "username": "admin_only_user", + "first_name": "", + "last_name": "", + "is_active": true, + "is_superuser": false, + "is_staff": false, + "groups": [ + ["Admin non-editors"] + ], + "user_permissions": [], + "password": "md5$seasalt$1e9bf2bf5606aa5c39852cc30f0f6f22", + "email": "admin_only_user@example.com" + } +}, { "pk": 1, @@ -425,6 +484,24 @@ "fields": { "text": "test_advert", "url": "http://www.example.com" + } +}, +{ + "pk": 1, + "model": "wagtaildocs.Document", + "fields": { + "title": "test document", + "created_at": "2014-01-01T12:00:00.000Z" + } +}, +{ + "pk": 1, + "model": "wagtailimages.Image", + "fields": { + "title": "test image", + "created_at": "2014-01-01T12:00:00.000Z", + "width": 0, + "height": 0 } } ] diff --git a/wagtail/tests/templates/tests/event_page.html b/wagtail/tests/templates/tests/event_page.html index b60bc6058..795b7bf0a 100644 --- a/wagtail/tests/templates/tests/event_page.html +++ b/wagtail/tests/templates/tests/event_page.html @@ -1,4 +1,5 @@ -{% load pageurl %} +{% load wagtailcore_tags %} + diff --git a/wagtail/tests/templates/tests/form_page.html b/wagtail/tests/templates/tests/form_page.html index 5fbd2ae9f..d908c60a2 100644 --- a/wagtail/tests/templates/tests/form_page.html +++ b/wagtail/tests/templates/tests/form_page.html @@ -1,4 +1,5 @@ -{% load pageurl %} +{% load wagtailcore_tags %} + diff --git a/wagtail/tests/templates/tests/form_page_landing.html b/wagtail/tests/templates/tests/form_page_landing.html index e29a6a942..d9a6369d4 100644 --- a/wagtail/tests/templates/tests/form_page_landing.html +++ b/wagtail/tests/templates/tests/form_page_landing.html @@ -1,4 +1,5 @@ -{% load pageurl %} +{% load wagtailcore_tags %} + diff --git a/wagtail/tests/templates/tests/includes/event_listing.html b/wagtail/tests/templates/tests/includes/event_listing.html index 31c0b1b3b..02f880ec4 100644 --- a/wagtail/tests/templates/tests/includes/event_listing.html +++ b/wagtail/tests/templates/tests/includes/event_listing.html @@ -1,4 +1,4 @@ -{% load pageurl %} +{% load wagtailcore_tags %}{{ field.help_text }}
- {% endif %} - - {% if field.errors %} - - {% endif %} -{{ field.help_text }}
+ {% endif %} + + {% if field.errors %} + + {% endif %} +{{ field.help_text }}
- {% endif %} - - {% if field.errors %} - - {% endif %} -