From 61926337ef72c51dba4d80a77f347be4e2ac9c03 Mon Sep 17 00:00:00 2001 From: Matt Westcott Date: Fri, 15 Dec 2023 15:21:39 +0000 Subject: [PATCH] Mention inheriting from ClusterableModel in the text too --- docs/topics/snippets/features.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/snippets/features.md b/docs/topics/snippets/features.md index fe7eb8dda5..e5b453df13 100644 --- a/docs/topics/snippets/features.md +++ b/docs/topics/snippets/features.md @@ -357,7 +357,7 @@ The [documentation on tagging pages](tagging) has more information on how to use ## Inline models within snippets -Similar to pages, you can nest other models within a snippet. +Similar to pages, you can nest other models within a snippet. This requires the snippet model to inherit from `modelcluster.models.ClusterableModel` instead of `django.models.Model`. ```python from django.db import models