show some featured images

This commit is contained in:
2024-05-10 16:20:19 +02:00
parent db8c88ffba
commit de0af201cc
11 changed files with 73 additions and 12 deletions

View File

@ -168,6 +168,8 @@ WAGTAILSEARCH_BACKENDS = {
# e.g. in notification emails. Don't include '/admin' or a trailing slash
WAGTAILADMIN_BASE_URL = "http://example.com"
# Required by wagtail-grapple to make image URLs absolute
BASE_URL = "http://example.com"
# GraphQL
GRAPHENE = {"SCHEMA": "grapple.schema.schema"}

View File

@ -11,6 +11,12 @@ ALLOWED_HOSTS = ["*"]
EMAIL_BACKEND = "django.core.mail.backends.console.EmailBackend"
# Base URL to use when referring to full URLs within the Wagtail admin backend -
# e.g. in notification emails. Don't include '/admin' or a trailing slash
WAGTAILADMIN_BASE_URL = "http://127.0.0.1:8000"
# Required by wagtail-grapple to make image URLs absolute
BASE_URL = "http://127.0.0.1:8000"
try:
from .local import *