mirror of
https://github.com/wagtail/wagtail.git
synced 2024-11-28 00:17:06 +01:00
Add missing import django models (#8301)
Django models need to be imported
This commit is contained in:
parent
c5d66c7a1f
commit
21202e421e
@ -585,6 +585,7 @@ Contributors
|
||||
* Shwet Khatri
|
||||
* Abdulmajeed Isa
|
||||
* Sandil Ranasinghe
|
||||
* Caio Jhonny
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
@ -14,6 +14,8 @@ Here's an example:
|
||||
|
||||
```python
|
||||
# models.py
|
||||
from django.db import models
|
||||
|
||||
from wagtail.documents.models import Document, AbstractDocument
|
||||
|
||||
class CustomDocument(AbstractDocument):
|
||||
|
Loading…
Reference in New Issue
Block a user