Use unsplash.com images in your Wagtail site
Project description
Wagtail Unsplash
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wagtail_unsplash-1.0.0.tar.gz
(5.1 kB
view hashes)
Built Distribution
Close
Hashes for wagtail_unsplash-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eb82f8f0f90ccf7317fc5ba15d8fb15f76acec15287c09f1bfe42ce17f01f510 |
|
MD5 | bf2f717e920b5a1259943cf253966c87 |
|
BLAKE2b-256 | 1127bb306edb4e52ce207c8e0b967a9fd90fe3536425efdc1361c718f908215e |