<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Switching to django-compressor in Playdoh</title>
	<atom:link href="http://blog.mozilla.org/webdev/2012/11/21/switching-to-django-compressor-in-playdoh/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mozilla.org/webdev/2012/11/21/switching-to-django-compressor-in-playdoh/</link>
	<description>Engineering the web</description>
	<lastBuildDate>Fri, 17 May 2013 21:43:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: James Socol</title>
		<link>http://blog.mozilla.org/webdev/2012/11/21/switching-to-django-compressor-in-playdoh/comment-page-1/#comment-226674</link>
		<dc:creator>James Socol</dc:creator>
		<pubDate>Mon, 26 Nov 2012 15:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=3092#comment-226674</guid>
		<description><![CDATA[They broke out staticfiles from media to create a distinction between uploaded content and static content, so

MEDIA_URL/MEDIA_PATH - user uploads
STATIC_URL/STATIC_PATH - static files from your app]]></description>
		<content:encoded><![CDATA[<p>They broke out staticfiles from media to create a distinction between uploaded content and static content, so</p>
<p>MEDIA_URL/MEDIA_PATH &#8211; user uploads<br />
STATIC_URL/STATIC_PATH &#8211; static files from your app</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Schalk Neethling</title>
		<link>http://blog.mozilla.org/webdev/2012/11/21/switching-to-django-compressor-in-playdoh/comment-page-1/#comment-226579</link>
		<dc:creator>Schalk Neethling</dc:creator>
		<pubDate>Sat, 24 Nov 2012 11:15:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=3092#comment-226579</guid>
		<description><![CDATA[Hey there Ross,

Regarding the use of static for linking from within CSS, I do exactly the same. Regarding the use of static for file uploads, I am not sure but, will pass the question around and update the post once I have a definitive answer. Thanks for the comment.]]></description>
		<content:encoded><![CDATA[<p>Hey there Ross,</p>
<p>Regarding the use of static for linking from within CSS, I do exactly the same. Regarding the use of static for file uploads, I am not sure but, will pass the question around and update the post once I have a definitive answer. Thanks for the comment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ross Bruniges</title>
		<link>http://blog.mozilla.org/webdev/2012/11/21/switching-to-django-compressor-in-playdoh/comment-page-1/#comment-226478</link>
		<dc:creator>Ross Bruniges</dc:creator>
		<pubDate>Thu, 22 Nov 2012 10:36:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.mozilla.org/webdev/?p=3092#comment-226478</guid>
		<description><![CDATA[I was hoping someone would right something about this after going through rather a bit of pain myself when having to upgrade!

One thing you missed (and caused me rather a lot of head scracting) is that if you reference images/fonts in your CSS files then the usage of ../ URLs will now break. Not sure if this is the best solution but I got around this by referencing everything instead to be /static/ - so url(&#039;..img/css/check.png&#039;) would be replaced by url(&#039;/static/base/img/css/check.png&#039;)

Also, am wondering how using staticfiles effects the usage of any image upload fields used in the app? This will still use the old {{ MEDIA_URL }} yeah? Should it be changed to use static or just left as is?]]></description>
		<content:encoded><![CDATA[<p>I was hoping someone would right something about this after going through rather a bit of pain myself when having to upgrade!</p>
<p>One thing you missed (and caused me rather a lot of head scracting) is that if you reference images/fonts in your CSS files then the usage of ../ URLs will now break. Not sure if this is the best solution but I got around this by referencing everything instead to be /static/ &#8211; so url(&#8216;..img/css/check.png&#8217;) would be replaced by url(&#8216;/static/base/img/css/check.png&#8217;)</p>
<p>Also, am wondering how using staticfiles effects the usage of any image upload fields used in the app? This will still use the old {{ MEDIA_URL }} yeah? Should it be changed to use static or just left as is?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
