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

applegrew / django-select2 / 119
64%
master: 34%

Build:
Build:
LAST BUILD BRANCH: codingjoe-patch-1
DEFAULT BRANCH: master
Ran 11 Jul 2015 04:02PM UTC
Jobs 6
Files 12
Run time 1min
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
119

push

travis-ci

codingjoe
Removed own caching solution in favour of django caching

The old multiprocessing support was hard to maintain.
Since signing and caching are part of `django.core`
there is really no need to stick to our own solution.

As a result multimachine support and security are now always in place.
Fields are stored in Django's cache. The default cache used by select2
is called 'default' but can be cachanged overwriting the setting
`SELECT2_CACHE_BACKEND`.

Recommended cache backends are memcached, redis or a DB-cache.

Refactored AutoResponseView

The main reason for this refactoring is
the fact that the pagingnation was slow.

I dropped major parts of the initial code
and wrote a more django-like-approach.

Noteabley:
- get_results now retuns a QuerySet
- This commit drops django 1.6 support in favour of the JsonResponse (Backporting is possible).

150 of 150 new or added lines in 7 files covered. (100.0%)

444 of 693 relevant lines covered (64.07%)

3.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
django_select2/cache.py
5
100.0
django_select2/__init__.py
8
100.0
django_select2/media.py
10
100.0
django_select2/fields.py
18
100.0
django_select2/views.py
22
100.0
django_select2/widgets.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
django_select2/util.py
5
100.0
django_select2/__init__.py
36
100.0
django_select2/widgets.py
82
100.0
django_select2/fields.py
Jobs
ID Job ID Ran Files Coverage
2 119.2 (DJANGO="<1.8,>=1.7") 11 Jul 2015 04:03PM UTC 0
64.07
Travis Job 119.2
3 119.3 (DJANGO="<1.9,>=1.8") 11 Jul 2015 04:02PM UTC 0
64.07
Travis Job 119.3
5 119.5 (DJANGO="<1.8,>=1.7") 11 Jul 2015 04:02PM UTC 0
64.07
Travis Job 119.5
6 119.6 (DJANGO="<1.9,>=1.8") 11 Jul 2015 04:03PM UTC 0
64.07
Travis Job 119.6
8 119.8 (DJANGO="<1.8,>=1.7") 11 Jul 2015 04:04PM UTC 0
64.07
Travis Job 119.8
9 119.9 (DJANGO="<1.9,>=1.8") 11 Jul 2015 04:03PM UTC 0
64.07
Travis Job 119.9
Source Files on build 119
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #119
  • cf4f2e4a on github
  • Prev Build on cache (#111)
  • Next Build on cache (#121)
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

© 2025 Coveralls, Inc