{"push_id":864884297,"size":1,"distinct_size":1,"ref":"refs/heads/issue/21221","head":"72dc14fe5d7f4220531aac1780188505ca756bae","before":"f202c1d71c8c864d81fa1b342facfe6013ef6bd3","commits":[{"sha":"72dc14fe5d7f4220531aac1780188505ca756bae","author":{"email":"59bd0a3ff43b32849b319e645d4798d8a5d1e889@johanneshoppe.com","name":"Johannes Hoppe"},"message":"Fixed #21221 -- Made forms Media use staticfiles to serve files if available.\n\nPreviously form assets defined as a forms media have been served using a joined\nabsolute path consisting of the `STATIC_URL` and defined relative path.\nThis commit changed the `absolute_path` method to serve form media using\n`django.contrib.staticfiles` if configured.\n\nThis will allow users to server their form media from a CDN or any other\nstaticfiles storage of their choosing.\n\nFor the purpose of #21221 a optional depenedency had to be\nmade from core to contrib.statifiles. Hence static was\nimplemented identical to the one in `staticfiles` or `admin`.\nBecause of that, the following changes have been made:\n\n- Moved admin_static implementation to core incl. deprecation\n- Moved staticfiles patch into StaticNode\n- Deprecated StaticFilesNode\n- Deprecated staticfiles static template tag\n- Removed prefix argument from django.forms.widgets.Media.absolute_path\n- Changed static template tag documentation\n\nFixed #18455","distinct":true,"url":"https://api.github.com/repos/codingjoe/django/commits/72dc14fe5d7f4220531aac1780188505ca756bae"}]}