klis87 / django-cloudinary-storage

Django package that provides Cloudinary storages for both media and static files as well as management commands for removing unnecessary files.
MIT License
131 stars 26 forks source link

Issue 1 #2

Closed tundebabzy closed 7 years ago

tundebabzy commented 7 years ago

I created a test case that validates the issue and added a fix.

tundebabzy commented 7 years ago

Instead of _convert_to_unix_path, I opted to name the method _normalise_name to make it clear that we are dealing with a name and not a path.