wagtail / wagtail-transfer

Content transfer for Wagtail

Home Page:https://wagtail.github.io/wagtail-transfer/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add import success message and redirect

KalobTaulien opened this issue · comments

When importing a page it brings me back to /admin/pages/ when importing an individual page that already exists.

It may also be useful to add a Django Message letting the user know their page was imported successfully.

This issue can be extended to support messages and proper redirects when importing a model or model object from PR #38

Model and Model Object import messages and redirect to the snippet usage url was added in #38 on these lines

Pages import needs messages and a better redirect but that should not be added in the #38 PR.

It would be good if the feedback also reported on the objects that were not transferrable, which we should have in failed_creations and really_missing_object_data