Skip to content

jafacakes2011/wagtail-unsplash

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

Wagtail Unsplash PyPI

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