torchbox/wagtail-storages

get_document_model has moved

Closed this issue · 1 comments

The package is importing get_document_model from wagtail.documents.models which has been moved to wagtail.documents.get_document_model and therefore the server throws a warning:

RemovedInWagtail210Warning: wagtail.documents.models.get_document_model has been moved to wagtail.documents.get_document_model
  RemovedInWagtail210Warning)

#19 I have done a PR to fix this, see the PR description for reasons not to merge this right away, as I have not done extensive testing