Awesome
Wagtail Redirect Importer
Your friendly neighborhood importer that lets you import redirects from different tabular data formats, such as .csv and .xls
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 yourINSTALLED_APPS
in Django settings.
INSTALLED_APPS = (
# ...
'wagtail_redirect_importer',
)
Screenshots
Step 1: Select data file and format
Step 2: Inspect data, configure header mapping and target site, then hit import
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.