This commit is contained in:
2024-05-21 00:12:19 +02:00
parent 9e0466f78b
commit 963987278a
22 changed files with 1025 additions and 90 deletions

View File

@ -1,4 +1,5 @@
from django.db import models
from grapple.helpers import register_singular_query_field
from grapple.models import (
GraphQLImage,
GraphQLRichText,
@ -12,6 +13,7 @@ from wagtail.models import Page
from dnscms.fields import CommonStreamField
@register_singular_query_field("associationIndex")
class AssociationIndex(Page):
max_count = 1
subpage_types = ["associations.AssociationPage"]