mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-05-21 13:31:54 +00:00
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 |
||
|---|---|---|
| .. | ||
| tests | ||
| __init__.py | ||
| apps.py | ||
| endpoints.py | ||
| filters.py | ||
| pagination.py | ||
| router.py | ||
| serializers.py | ||
| signal_handlers.py | ||
| utils.py | ||