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:
parent
05b831b536
commit
61926337ef
@ -357,7 +357,7 @@ The [documentation on tagging pages](tagging) has more information on how to use
|
|||||||
|
|
||||||
## Inline models within snippets
|
## 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
|
```python
|
||||||
from django.db import models
|
from django.db import models
|
||||||
|
Loading…
Reference in New Issue
Block a user