Django models need to be imported
@@ -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):