I actually like django-compressor better. Here's why:Looking through the django docs, it looks like the translation strings all get bundled together anyway, in the 'javascript_catalog' view. (https://docs.djangoproject.com/en/dev/topics/i18n/translation/#internationalization-in-javascript-code)
- docs seem more complete
- fewer changes to settings.py
- it has an admin command (i.e. pre-deployment compression)
- there's a development mode that's connected to debug mode
- the compression specifications are in each template
Thoughts?
zOn Thu, Nov 17, 2011 at 10:00 AM, Andrew Jennings <ajen...@azavea.com> wrote:
Good idea, David. Looks as if there are a lot of options. Django-compressor looks to have a lot of great features but it also has a lot of dependencies. Django-mediagenerator seems to have many of the same features, doesn't have any other dependencies, and has "i8n bundling" as a feature, which may come in handy soon.- AndrewOn Thu, Nov 17, 2011 at 9:30 AM, David Zwarg <dzw...@azavea.com> wrote:
Greetings devs,
We are currently using staticfiles to collect all our static files into one common place, but our CSS and javascript is still in many different files. Any strong opinions about using another asset manager?
Please take a second to look over the app comparisons at http://djangopackages.com/grids/g/asset-managers/
I would like to add django-compressor to our apps -- it seems to be well used, has a large developer base, active commits, and includes compression of CSS/JS.
Thoughts?
--
David Zwarg, Software Developer
Azavea | One Cambridge Center, 6th Floor, Cambridge, MA 02142-1601
dzw...@azavea.com | T 617.649.2227 | F 215.925.2663
Web azavea.com | Blog azavea.com/blogs
--
David Zwarg, Software Developer
Azavea | One Cambridge Center, 6th Floor, Cambridge, MA 02142-1601
dzw...@azavea.com | T 617.649.2227 | F 215.925.2663
Web azavea.com | Blog azavea.com/blogs