chore: clarify model hack
This commit is contained in:
parent
20885a53db
commit
1626bcbdbc
|
|
@ -157,7 +157,7 @@ def migrate_avatars(apps=None, schema_editor=None):
|
|||
User = apps.get_model("core", "User")
|
||||
UserImage = apps.get_model("media_files", "UserImage")
|
||||
|
||||
# Models created by Django migration don't contain methods of the original models.
|
||||
# Models created by Django migration don't contain methods of the parent model.
|
||||
# We need to add them manually.
|
||||
from wagtail.images.models import AbstractImage
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue