wagtail/wagtail/api
Karl Hobley 90153e31c8 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:44:07 +00:00
..
v2 Fix AttributeError in listing_view endpoint 2017-11-03 14:44:07 +00:00
__init__.py Updated to use APIField class in api_fields 2017-03-30 11:08:33 +01:00
conf.py Updated to use APIField class in api_fields 2017-03-30 11:08:33 +01:00