add custom image model, fetch alt text
This commit is contained in:
@@ -25,6 +25,7 @@ BASE_DIR = os.path.dirname(PROJECT_DIR)
|
||||
|
||||
INSTALLED_APPS = [
|
||||
"dnscms",
|
||||
"images",
|
||||
"home",
|
||||
"generic",
|
||||
"associations",
|
||||
@@ -159,6 +160,7 @@ MEDIA_URL = "/media/"
|
||||
# Wagtail settings
|
||||
|
||||
WAGTAIL_SITE_NAME = "dnscms"
|
||||
WAGTAILIMAGES_IMAGE_MODEL = "images.CustomImage"
|
||||
|
||||
# Search
|
||||
# https://docs.wagtail.org/en/stable/topics/search/backends.html
|
||||
@@ -184,6 +186,7 @@ GRAPPLE = {
|
||||
"associations",
|
||||
"events",
|
||||
"venues",
|
||||
"images",
|
||||
],
|
||||
"EXPOSE_GRAPHIQL": True,
|
||||
}
|
||||
|
Reference in New Issue
Block a user