zsiciarz / django-markitup

Markup handling (using Jay Salvat's MarkItUp! flexible universal markup editor) for Django
https://github.com/zsiciarz/django-markitup
BSD 3-Clause "New" or "Revised" License
47 stars 31 forks source link

New defaults that are friendly to CachedFilesStorage #15

Closed ivanvenosdel closed 8 years ago

ivanvenosdel commented 8 years ago

Updates the default paths for MARKITUP_SET and MARKITUP_SKIN to make it more obvious to other apps that these are directories and not files.

Doing this will prevent a gotcha for those using CachedFileStorage. As not including the / with cached file storage will actually break the user's entire site as absolute_url is called during import and ends up being evaluated as a file rather then a directory.

This change will not affect those who are not using cached file storage.

zsiciarz commented 8 years ago

Thanks! Merged and released in 2.3.0.