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

applegrew / django-select2 / 125
100%
master: 34%

Build:
Build:
LAST BUILD BRANCH: codingjoe-patch-1
DEFAULT BRANCH: master
Ran 19 Jul 2015 04:03PM UTC
Jobs 2
Files 13
Run time 7s
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
125

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

178 of 178 new or added lines in 8 files covered. (100.0%)

476 of 729 relevant lines covered (65.29%)

1.31 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
django_select2/widgets.py
2
100.0
django_select2/cache.py
4
100.0
django_select2/__init__.py
8
100.0
django_select2/media.py
22
100.0
django_select2/fields.py
24
100.0
django_select2/views.py

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
django_select2/util.py
1
100.0
django_select2/media.py
5
100.0
django_select2/__init__.py
10
100.0
django_select2/views.py
40
100.0
django_select2/widgets.py
95
100.0
django_select2/fields.py
Jobs
ID Job ID Ran Files Coverage
2 125.2 (DJANGO="<1.8,>=1.7") 19 Jul 2015 04:04PM UTC 0
65.29
Travis Job 125.2
3 125.3 (DJANGO="<1.9,>=1.8") 19 Jul 2015 04:03PM UTC 0
65.29
Travis Job 125.3
Source Files on build 125
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #125
  • f748399c on github
  • Prev Build on v5 (#124)
  • Next Build on v5 (#126)
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