0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/wagtail
Karl Hobley e7312a429d Fix AttributeError in listing_view endpoint
Fixes #3967

If there was no site configured, the listing views in the API would
break with an AttributeError.

Now, the following happens if there is no site record:
 - In the Admin API, all pages are returned but links in the response do
not include a domain name
 - In the Public API, no pages are returned
2017-11-03 14:39:39 +00:00
..
api Fix AttributeError in listing_view endpoint 2017-11-03 14:39:39 +00:00
bin
contrib Remove hostnames from expected redirect URLs 2017-11-01 16:22:46 +00:00
project_template Remove SessionAuthenticationMiddleware from project template and docs. 2017-10-04 16:14:34 +01:00
tests Add on_delete= on search models 2017-11-01 16:22:46 +00:00
utils Replace django.core.urlresolvers with django.urls 2017-11-01 16:22:46 +00:00
wagtailadmin Rename field.rel to field.remote_field 2017-11-01 16:22:46 +00:00
wagtailcore Rename field.rel to field.remote_field 2017-11-01 16:22:46 +00:00
wagtaildocs Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailembeds Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailforms Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailimages Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailredirects Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailsearch Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailsites Replace django.core.urlresolvers with django.urls 2017-11-01 16:22:46 +00:00
wagtailsnippets Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
wagtailusers Moved app_name URLconf setting into included urls modules 2017-11-01 16:22:46 +00:00
__init__.py Version bump to begin work on 2.0 2017-10-09 18:34:43 +01:00