coderedcorp / coderedcms

Wagtail + CodeRed Extensions enabling rapid development of marketing-focused websites.
https://www.coderedcorp.com/cms
Other
668 stars 137 forks source link

Code not compatible with custom image model #621

Closed mr-klint closed 1 month ago

mr-klint commented 4 months ago

The coderedcms templatetags utilize an import of:

from wagtail.images.models import Image

instead of fetching the currently defined image model from the settings file (by the wagtail function wagtail.images.get_image_model()) and thereby making it incompatible with custom image models.

Im not yet sure if the same type of imports are true also for other files…