├── .flake8 ├── .gitignore ├── .travis.yml ├── README.rst ├── requirements.txt ├── runtests.py ├── setup.py ├── tests ├── __init__.py ├── app │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ ├── models.py │ ├── settings.py │ └── urls.py ├── base.py ├── import_data │ ├── documents │ │ └── hello-world.txt │ └── images │ │ ├── floral.jpeg │ │ ├── hidden doge sleeping whippet.jpg │ │ ├── lazors.jpg │ │ ├── stretmch.jpg │ │ └── suunn.jpg ├── test_documents.py ├── test_images.py ├── test_pages.py ├── test_settings.py └── test_sites.py ├── tox.ini └── wagtailimporter ├── __init__.py ├── management ├── __init__.py └── commands │ ├── __init__.py │ └── import_pages.py └── serializer.py /.flake8: -------------------------------------------------------------------------------- 1 | [flake8] 2 | exclude = migrations 3 | # ignore = E501 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/.travis.yml -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/README.rst -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | wagtail >= 4.0.0 2 | pyyaml 3 | -------------------------------------------------------------------------------- /runtests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/runtests.py -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/setup.py -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/app/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/app/migrations/0001_initial.py -------------------------------------------------------------------------------- /tests/app/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/app/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/app/models.py -------------------------------------------------------------------------------- /tests/app/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/app/settings.py -------------------------------------------------------------------------------- /tests/app/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/app/urls.py -------------------------------------------------------------------------------- /tests/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/base.py -------------------------------------------------------------------------------- /tests/import_data/documents/hello-world.txt: -------------------------------------------------------------------------------- 1 | Hello, world! 2 | -------------------------------------------------------------------------------- /tests/import_data/images/floral.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/import_data/images/floral.jpeg -------------------------------------------------------------------------------- /tests/import_data/images/hidden doge sleeping whippet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/import_data/images/hidden doge sleeping whippet.jpg -------------------------------------------------------------------------------- /tests/import_data/images/lazors.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/import_data/images/lazors.jpg -------------------------------------------------------------------------------- /tests/import_data/images/stretmch.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/import_data/images/stretmch.jpg -------------------------------------------------------------------------------- /tests/import_data/images/suunn.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/import_data/images/suunn.jpg -------------------------------------------------------------------------------- /tests/test_documents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/test_documents.py -------------------------------------------------------------------------------- /tests/test_images.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/test_images.py -------------------------------------------------------------------------------- /tests/test_pages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/test_pages.py -------------------------------------------------------------------------------- /tests/test_settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/test_settings.py -------------------------------------------------------------------------------- /tests/test_sites.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tests/test_sites.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/tox.ini -------------------------------------------------------------------------------- /wagtailimporter/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wagtailimporter/management/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wagtailimporter/management/commands/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wagtailimporter/management/commands/import_pages.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/wagtailimporter/management/commands/import_pages.py -------------------------------------------------------------------------------- /wagtailimporter/serializer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/squareweave/wagtailimporter/HEAD/wagtailimporter/serializer.py --------------------------------------------------------------------------------