{"action":"opened","issue":{"url":"https://api.github.com/repos/parklab/refinery-platform/issues/746","labels_url":"https://api.github.com/repos/parklab/refinery-platform/issues/746/labels{/name}","comments_url":"https://api.github.com/repos/parklab/refinery-platform/issues/746/comments","events_url":"https://api.github.com/repos/parklab/refinery-platform/issues/746/events","html_url":"https://github.com/parklab/refinery-platform/issues/746","id":111683544,"number":746,"title":"Replace STATIC_URL with the static template tag in Django templates","user":{"login":"hackdna","id":452575,"avatar_url":"https://avatars.githubusercontent.com/u/452575?v=3","gravatar_id":"","url":"https://api.github.com/users/hackdna","html_url":"https://github.com/hackdna","followers_url":"https://api.github.com/users/hackdna/followers","following_url":"https://api.github.com/users/hackdna/following{/other_user}","gists_url":"https://api.github.com/users/hackdna/gists{/gist_id}","starred_url":"https://api.github.com/users/hackdna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hackdna/subscriptions","organizations_url":"https://api.github.com/users/hackdna/orgs","repos_url":"https://api.github.com/users/hackdna/repos","events_url":"https://api.github.com/users/hackdna/events{/privacy}","received_events_url":"https://api.github.com/users/hackdna/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/parklab/refinery-platform/labels/bug","name":"bug","color":"DE2B07"},{"url":"https://api.github.com/repos/parklab/refinery-platform/labels/cloud","name":"cloud","color":"ededed"},{"url":"https://api.github.com/repos/parklab/refinery-platform/labels/deployment","name":"deployment","color":"ededed"},{"url":"https://api.github.com/repos/parklab/refinery-platform/labels/important","name":"important","color":"F39019"},{"url":"https://api.github.com/repos/parklab/refinery-platform/labels/server","name":"server","color":"555555"},{"url":"https://api.github.com/repos/parklab/refinery-platform/labels/technical%20debt","name":"technical debt","color":"9E1E05"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/parklab/refinery-platform/milestones/14","html_url":"https://github.com/parklab/refinery-platform/milestones/Next","labels_url":"https://api.github.com/repos/parklab/refinery-platform/milestones/14/labels","id":1259101,"number":14,"title":"Next","description":"","creator":{"login":"ngehlenborg","id":1216518,"avatar_url":"https://avatars.githubusercontent.com/u/1216518?v=3","gravatar_id":"","url":"https://api.github.com/users/ngehlenborg","html_url":"https://github.com/ngehlenborg","followers_url":"https://api.github.com/users/ngehlenborg/followers","following_url":"https://api.github.com/users/ngehlenborg/following{/other_user}","gists_url":"https://api.github.com/users/ngehlenborg/gists{/gist_id}","starred_url":"https://api.github.com/users/ngehlenborg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ngehlenborg/subscriptions","organizations_url":"https://api.github.com/users/ngehlenborg/orgs","repos_url":"https://api.github.com/users/ngehlenborg/repos","events_url":"https://api.github.com/users/ngehlenborg/events{/privacy}","received_events_url":"https://api.github.com/users/ngehlenborg/received_events","type":"User","site_admin":false},"open_issues":12,"closed_issues":2,"state":"open","created_at":"2015-08-17T20:36:39Z","updated_at":"2015-10-15T18:53:48Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2015-10-15T18:53:48Z","updated_at":"2015-10-15T18:53:48Z","closed_at":null,"body":"“what’s the point in loading an extra template tag when I already have STATIC_URL in the context?”. You collectstatic your files to somewhere your nginx can serve them, and everything works fine. Later you try moving to Amazon S3, or CloudFront, or some other CDN. At which point all your static links break, and there goes your afternoon.\r\nhttp://staticfiles.productiondjango.com/blog/stop-using-static-url-in-templates/\r\n"}}