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

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

Build:
Build:
LAST BUILD BRANCH: codingjoe-patch-1
DEFAULT BRANCH: master
Ran 19 Jul 2015 05:53PM UTC
Jobs 4
Files 13
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
129

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

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

494 of 731 relevant lines covered (67.58%)

2.7 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
9
100.0
django_select2/views.py
22
100.0
django_select2/fields.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
45
100.0
django_select2/widgets.py
95
100.0
django_select2/fields.py
Jobs
ID Job ID Ran Files Coverage
5 129.5 (DJANGO="<1.8,>=1.7") 19 Jul 2015 05:53PM UTC 0
67.58
Travis Job 129.5
6 129.6 (DJANGO="<1.9,>=1.8") 19 Jul 2015 05:53PM UTC 0
67.58
Travis Job 129.6
8 129.8 (DJANGO="<1.8,>=1.7") 19 Jul 2015 05:54PM UTC 0
67.58
Travis Job 129.8
9 129.9 (DJANGO="<1.9,>=1.8") 19 Jul 2015 05:53PM UTC 0
67.58
Travis Job 129.9
Source Files on build 129
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #129
  • ff26b13b on github
  • Prev Build on v5 (#128)
  • Next Build on v5 (#130)
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