add news
This commit is contained in:
@ -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"]
|
||||
|
Reference in New Issue
Block a user