{"action":"opened","pull_request":{"created_at":"2011-11-27T20:30:18Z","review_comments":0,"state":"open","patch_url":"https://github.com/jezdez/django_compressor/pull/167.patch","changed_files":1,"updated_at":"2011-11-27T20:30:18Z","_links":{"review_comments":{"href":"https://api.github.com/repos/jezdez/django_compressor/pulls/167/comments"},"comments":{"href":"https://api.github.com/repos/jezdez/django_compressor/issues/167/comments"},"html":{"href":"https://github.com/jezdez/django_compressor/pull/167"},"self":{"href":"https://api.github.com/repos/jezdez/django_compressor/pulls/167"}},"user":{"gravatar_id":"8704f0a7448d8eebe911af742c4721cb","id":126263,"url":"https://api.github.com/users/matthewwithanm","login":"matthewwithanm","avatar_url":"https://secure.gravatar.com/avatar/8704f0a7448d8eebe911af742c4721cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":0,"issue_url":"https://github.com/jezdez/django_compressor/issues/167","deletions":2,"body":"With this change, `Compressor`'s `render_content()` will use the templates defined in the the `template_name` and `template_name_*` properties of the compressor class. That way subclasses can define their own template locations without having to override `render_content()`.\r\n\r\nI left the old behavior in as a fallback in case any third parties are implementing custom compressors without `template_name*` attributes.","merged":false,"mergeable":null,"commits":1,"id":531763,"number":167,"base":{"user":{"gravatar_id":"cf3595fa166bfb4106211e1697f39f94","id":1610,"url":"https://api.github.com/users/jezdez","login":"jezdez","avatar_url":"https://secure.gravatar.com/avatar/cf3595fa166bfb4106211e1697f39f94?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"created_at":"2010-02-05T15:48:14Z","pushed_at":"2011-11-25T21:09:53Z","private":false,"clone_url":"https://github.com/jezdez/django_compressor.git","updated_at":"2011-11-27T20:23:44Z","master_branch":"develop","svn_url":"https://svn.github.com/jezdez/django_compressor","name":"django_compressor","watchers":354,"language":"Python","forks":117,"owner":{"gravatar_id":"cf3595fa166bfb4106211e1697f39f94","id":1610,"url":"https://api.github.com/users/jezdez","login":"jezdez","avatar_url":"https://secure.gravatar.com/avatar/cf3595fa166bfb4106211e1697f39f94?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":504028,"homepage":"http://django_compressor.rtfd.org/","description":"Compresses linked and inline javascript or CSS into a single cached file.","git_url":"git://github.com/jezdez/django_compressor.git","html_url":"https://github.com/jezdez/django_compressor","open_issues":7,"size":712,"ssh_url":"git@github.com:jezdez/django_compressor.git","fork":false,"url":"https://api.github.com/repos/jezdez/django_compressor"},"sha":"b7583b0d2b695fb26d7b2e63d33c9a6bc4e8f35c","ref":"develop","label":"jezdez:develop"},"merged_by":null,"additions":9,"head":{"user":{"gravatar_id":"8704f0a7448d8eebe911af742c4721cb","id":126263,"url":"https://api.github.com/users/matthewwithanm","login":"matthewwithanm","avatar_url":"https://secure.gravatar.com/avatar/8704f0a7448d8eebe911af742c4721cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"repo":{"created_at":"2011-11-27T20:23:44Z","pushed_at":"2011-11-27T20:25:55Z","private":false,"clone_url":"https://github.com/matthewwithanm/django_compressor.git","updated_at":"2011-11-27T20:25:57Z","master_branch":"develop","svn_url":"https://svn.github.com/matthewwithanm/django_compressor","name":"django_compressor","watchers":1,"language":"Python","forks":0,"owner":{"gravatar_id":"8704f0a7448d8eebe911af742c4721cb","id":126263,"url":"https://api.github.com/users/matthewwithanm","login":"matthewwithanm","avatar_url":"https://secure.gravatar.com/avatar/8704f0a7448d8eebe911af742c4721cb?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"id":2862743,"homepage":"http://django_compressor.rtfd.org/","description":"Compresses linked and inline javascript or CSS into a single cached file.","git_url":"git://github.com/matthewwithanm/django_compressor.git","html_url":"https://github.com/matthewwithanm/django_compressor","open_issues":0,"size":148,"ssh_url":"git@github.com:matthewwithanm/django_compressor.git","fork":true,"url":"https://api.github.com/repos/matthewwithanm/django_compressor"},"sha":"820577a8addc664162a907dbe810b25c9359d004","ref":"use_template_attr","label":"matthewwithanm:use_template_attr"},"title":"Uses templates specified by attributes","closed_at":null,"html_url":"https://github.com/jezdez/django_compressor/pull/167","diff_url":"https://github.com/jezdez/django_compressor/pull/167.diff","url":"https://api.github.com/repos/jezdez/django_compressor/pulls/167","merged_at":null},"number":167}