• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

applegrew / django-select2 / 96
34%

Build:
DEFAULT BRANCH: master
Ran 19 Jun 2015 12:52PM UTC
Jobs 12
Files 13
Run time 2min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
96

push

travis-ci

codingjoe
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)

8 of 8 new or added lines in 1 file covered. (100.0%)

496 of 844 relevant lines covered (58.77%)

7.04 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
django_select2/widgets.py
Jobs
ID Job ID Ran Files Coverage
1 96.1 (DJANGO="<1.7,>=1.6") 19 Jun 2015 12:53PM UTC 0
58.77
Travis Job 96.1
2 96.2 (DJANGO="<1.8,>=1.7") 19 Jun 2015 12:53PM UTC 0
58.77
Travis Job 96.2
3 96.3 (DJANGO="<1.9,>=1.8") 19 Jun 2015 12:52PM UTC 0
58.53
Travis Job 96.3
4 96.4 (DJANGO="<1.7,>=1.6") 19 Jun 2015 12:53PM UTC 0
58.77
Travis Job 96.4
5 96.5 (DJANGO="<1.8,>=1.7") 19 Jun 2015 12:53PM UTC 0
58.77
Travis Job 96.5
6 96.6 (DJANGO="<1.9,>=1.8") 19 Jun 2015 12:53PM UTC 0
58.53
Travis Job 96.6
7 96.7 (DJANGO="<1.7,>=1.6") 19 Jun 2015 12:54PM UTC 0
58.77
Travis Job 96.7
8 96.8 (DJANGO="<1.8,>=1.7") 19 Jun 2015 12:54PM UTC 0
58.77
Travis Job 96.8
9 96.9 (DJANGO="<1.9,>=1.8") 19 Jun 2015 12:54PM UTC 0
58.53
Travis Job 96.9
10 96.10 (DJANGO="<1.7,>=1.6") 19 Jun 2015 12:54PM UTC 0
58.77
Travis Job 96.10
11 96.11 (DJANGO="<1.8,>=1.7") 19 Jun 2015 12:55PM UTC 0
58.77
Travis Job 96.11
12 96.12 (DJANGO="<1.9,>=1.8") 19 Jun 2015 12:55PM UTC 0
58.53
Travis Job 96.12
Source Files on build 96
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #96
  • b576bcdd on github
  • Prev Build on master (#86)
  • Next Build on master (#116)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc