This website requires JavaScript.
Explore
Help
Sign In
Hopiu
/
django-select2
Watch
1
Star
0
Fork
You've already forked django-select2
0
mirror of
https://github.com/Hopiu/django-select2.git
synced
2026-05-05 12:14:42 +00:00
Code
Issues
Projects
Releases
Packages
Wiki
Activity
Actions
6dad55eb11
django-select2
/
django_select2
/
models.py
2 lines
21 B
Python
Raw
Normal View
History
Unescape
Escape
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).
2015-07-17 18:10:16 +00:00
# Django legacy file
Reference in a new issue
Copy permalink