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

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

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

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

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

493 of 730 relevant lines covered (67.53%)

0.68 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/media.py
1
100.0
django_select2/util.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
2 128.2 (DJANGO="<1.8,>=1.7") 19 Jul 2015 05:24PM UTC 0
67.53
Travis Job 128.2
Source Files on build 128
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #128
  • c16e109a on github
  • Prev Build on v5 (#127)
  • Next Build on v5 (#129)
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