Lets you import redirects into Wagtail from different tabular data formats (like .csv, xls, xlsx)
Project description
Your friendly neighborhood importer that lets you import redirects from different tabular data formats, such as .csv and .xls
Screen1
Features
Bulk import redirects from the Wagtail admin
Supports these formats:
csv
tsv
xls
xlsx
df
Basically all import formats supported by tablib
The cli tool import_redirects for powerusers
Requirements
Python 3.5+
Wagtail 2.7+
Installation
Install the library:
pip install wagtail_redirect_importer
Add wagtail_redirect_importer to your INSTALLED_APPS in Django settings.
INSTALLED_APPS = (
# ...
'wagtail_redirect_importer',
)
Screenshots
Screen1
Step 1: Select data file and format
Screen2
Step 2: Inspect data, configure header mapping and target site, then hit import
Screen3
Step 3: After import is complete you get a summary with potential error details
Credits
django-import-export - Pieces of the admin code are heavily inspired by this library, it also includes the modules for formats and temporary storage.
tablib - Enables us to load data from several data formats.
License
Wagtail-Redirect-Importer is released under the MIT License.