0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 01:57:32 +01:00

Mention inheriting from ClusterableModel in the text too

This commit is contained in:
Matt Westcott 2023-12-15 15:21:39 +00:00 committed by GitHub
parent 05b831b536
commit 61926337ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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