Skip to content

CamLamb/wagtail-unsplash

Repository files navigation

Screenshot showing wagtail-unsplash search results

Search for Unsplash images and upload to the Wagtail image library.

This package uses the python-unsplash API wrapper:

Setup

Install using pip:

pip install wagtail-unsplash

After installing the package, add wagtail_unsplash to installed apps in your settings file:

# settings.py

INSTALLED_APPS = [
    ...
    'wagtail_unsplash',
    ...
]

and add the API credentials:

# settings.py
WAGTAIL_UNSPLASH = {
    "CLIENT_ID": "",
    "CLIENT_SECRET": ""
}

You can get the needed information by creating an application at https://unsplash.com/developers

About

Search for Unsplash images and upload to Wagtail

Resources

License

Stars

Watchers

Forks

Packages

No packages published