{"action":"closed","issue":{"url":"https://api.github.com/repos/zyegfryed/django-statici18n/issues/15","repository_url":"https://api.github.com/repos/zyegfryed/django-statici18n","labels_url":"https://api.github.com/repos/zyegfryed/django-statici18n/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/zyegfryed/django-statici18n/issues/15/comments","events_url":"https://api.github.com/repos/zyegfryed/django-statici18n/issues/15/events","html_url":"https://github.com/zyegfryed/django-statici18n/issues/15","id":104850327,"number":15,"title":"Path mismatch between template tag and compilejsi18n","user":{"login":"hyperair","id":88355,"avatar_url":"https://avatars.githubusercontent.com/u/88355?v=3","gravatar_id":"","url":"https://api.github.com/users/hyperair","html_url":"https://github.com/hyperair","followers_url":"https://api.github.com/users/hyperair/followers","following_url":"https://api.github.com/users/hyperair/following{/other_user}","gists_url":"https://api.github.com/users/hyperair/gists{/gist_id}","starred_url":"https://api.github.com/users/hyperair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyperair/subscriptions","organizations_url":"https://api.github.com/users/hyperair/orgs","repos_url":"https://api.github.com/users/hyperair/repos","events_url":"https://api.github.com/users/hyperair/events{/privacy}","received_events_url":"https://api.github.com/users/hyperair/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2015-09-04T08:38:06Z","updated_at":"2016-08-20T21:51:19Z","closed_at":"2016-08-20T21:51:19Z","body":"compilejsi18n directly writes things to a file path it derives from the settings on its own, while the templatetag uses static() to get the URL. This causes problems when using [ManifestFilesStorage](https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#django.contrib.staticfiles.storage.ManifestStaticFilesStorage) or similar which mangle the filename for cache-busting.\r\n\r\nIn summary:\r\n\r\n - `compilejsi18n` writes to `...../djangojs.js` bypassing the django storage subsystem entirely.\r\n - `{% statici18n en %}` returns `...../djangojs.$hash.js`\r\n\r\nThe solution appears to be to write to the file through django's storage things."}}
{"actor":{"display_login":"zyegfryed"}}