Wagtail Makeup
Project description
Wagtail Makeup
Tired of having no images locally when you need them? Don't want to fill your computer up with images? Use Wagtail Makeup ;)
Installation
Install the plugin by cloning or (soon) with pypi, and add it to your installed apps.
Configuration
Sign up for an Unsplash api key and add this to your settings:
WAGTAIL_MAKEUP_SETTINGS = {
"UNSPLASH_CLIENT_ID": "your api id here",
}
Using
Wagtail Makeup works by providing a new management command:
python manage.py make_up [keyword] [amount of images]
So you want to replace all your broken images on your site with dogs (who wouldn't) you can do it like this:
python manage.py make_up dogs 10
Note: the amount value is the number of images to download, the higher this is, the more variance you will get.
:cool:
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for wagtailmakeup-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b7d2b0a38a99f9d1c3685e1676e6b6a31dd4834689f6a38065e586281eb9e28 |
|
MD5 | 87c99d9e45ac7eb0bbc42f130a0f1c8f |
|
BLAKE2b-256 | b969cff99be75eb8551a77d3e7d73a0ca46f9cacd48e11e7668ca2f0451d6d67 |