django-imagekit
django-imagekit copied to clipboard
Check file's availability before rendering
If there is no file exist in server or path, Dango raises OSError.
To avoid error in templates, check image path availability before rending. and can set default url as passing argument.
Thank you, @JosephDev for your contribution!
This will only work for default FileSystemStorage. What about custom storages like these provided by django-storages?
@vstoykov I'd like to run and write tests including custom storages but I am not sure where I start from. Will you provide the command to run tests?
Did you read the CONTRIBUTING.rst file in the repo?
You just need to have tox installed and in the project directory to run tox.