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
Built Distribution
File details
Details for the file wagtail_unsplash-1.0.1.tar.gz
.
File metadata
- Download URL: wagtail_unsplash-1.0.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.1 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8d8c9850d5c885e5598f90cad8d36dbff1b6499f9eb659682380f49ddf903b39 |
|
MD5 | 9d5887815ab025b5ecaf9607467d961a |
|
BLAKE2b-256 | 93ccda883bfcaef64d57edc9ef499011a78c2d2a891a14ca67aa9023d611e3aa |
File details
Details for the file wagtail_unsplash-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: wagtail_unsplash-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.1 Darwin/23.2.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04356bd5252187623fe8c565374533275e45d84fb6fa54d78521d2dff9ee06dc |
|
MD5 | 762a505f0fc15fd447586ff6db7223ee |
|
BLAKE2b-256 | b4bb05dc09d5fff430c3366bbb4cfdccd36eebc9d6fdb332926964ae4303d6ff |