MegaMark16 / django-cms-themes

A way to quickly load and swap out template packs (or themes) for Django CMS
BSD 3-Clause "New" or "Revised" License
49 stars 15 forks source link

Theme-name acquisition improvement #6

Closed growlf closed 11 years ago

growlf commented 12 years ago

I noticed that if my theme was not ordered correctly in the tarball, the theme would not work correctly due to the naming being different than the file-space. Assuming that every theme will be single-directory-root archive, we can just grab the actual file path from inside the archive instead. This will also allow version numbers in the filename that will not interfere with the extracted filesystem-to-name convention.

ajford commented 11 years ago

This fixed an issue I was seeing. Thanks growlf! I was able to replace the requirement with a pip install from your repo and everything worked.

MegaMark16 commented 11 years ago

Sorry this took so long to merge in, but thanks for making this change, it looks and works great!