|
Ran
|
Files
13
|
Run time
1s
|
Badge
README BADGES
|
push
travis-ci
Made widget media a dynamic property Symptoms: While using AutoModelSelect2Field in admin site, I noticed that css files are rendered only at the first request to the add or edit forms, after that the widget is rendered but without loading any css files from get_select2_css_libs. Solution: I changed assets loading from Assets as a static definition to Media as a dynamic property as described at Django docs: https://docs.djangoproject.com/en/1.8/topics/forms/media/#media-as-a-dynamic-property Closed #179 Squashed commit of the following: commit f925ed4a1 Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Fri Jun 19 01:39:47 2015 +0300 remove trailing whitespace from docstrings commit b3f6553e4 Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Fri Jun 19 01:35:15 2015 +0300 Remove blank lines from docstrings commit 4490b7857 Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Fri Jun 19 01:19:38 2015 +0300 construct Media the right way Remove code that access private attributes of Media class. commit 6697cd734 Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Tue Jun 16 00:11:29 2015 +0300 fix change _media to _get_media I hope it is the final commit :) commit 59bda01ae Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Tue Jun 16 00:09:35 2015 +0300 get_select2_heavy_js_libs change get_select2_js_libs to get_select2_heavy_js_libs commit 993e20135 Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Tue Jun 16 00:07:57 2015 +0300 fix fix commit f66e5f40b Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Mon Jun 15 23:55:53 2015 +0300 fix fix commit d33d90278 Author: Razi Alsayyed <razi.sayed@gmail.com> Date: Mon Jun 15... (continued)
496 of 844 relevant lines covered (58.77%)
0.59 hits per line
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
|---|