Skip to content

Commit 29dce1f

Browse files
committed
Update to latest version of django-selectable
1 parent 34244d8 commit 29dce1f

32 files changed

+158
-1755
lines changed

dep/django-selectable/AUTHORS.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,6 @@ Raphael Merx
2828
Josh Addington
2929
Tobias Zanke
3030
Petr Dlouhy
31+
Vinod Kurup
3132

3233
Thanks for all of your work!

dep/django-selectable/LICENSE.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2010-2018, Mark Lavin
1+
Copyright (c) 2010-201999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999, Mark Lavin
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without modification,

dep/django-selectable/PKG-INFO

Lines changed: 0 additions & 92 deletions
This file was deleted.

dep/django-selectable/README.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ Features
3333
Installation Requirements
3434
-----------------------------------
3535

36-
- Python 2.7, 3.3+
37-
- `Django <http://www.djangoproject.com/>`_ >= 1.7, <= 1.11
36+
- Python 2.7, 3.4+
37+
- `Django <http://www.djangoproject.com/>`_ >= 1.11, <= 3.0
3838
- `jQuery <http://jquery.com/>`_ >= 1.9, < 3.0
39-
- `jQuery UI <http://jqueryui.com/>`_ >= 1.10, < 1.12
39+
- `jQuery UI <http://jqueryui.com/>`_ >= 1.10
4040

4141
To install::
4242

dep/django-selectable/docs/admin.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ a many to many relation to our ``Fruit`` model.
7777
@python_2_unicode_compatible
7878
class Farm(models.Model):
7979
name = models.CharField(max_length=200)
80-
owner = models.ForeignKey('auth.User', related_name='farms')
80+
owner = models.ForeignKey('auth.User', related_name='farms', on_delete=models.CASCADE)
8181
fruit = models.ManyToManyField(Fruit)
8282
8383
def __str__(self):
@@ -171,4 +171,3 @@ We can even make use of the same ``FarmAdminForm``.
171171
admin.site.register(User, NewUserAdmin)
172172
173173
The auto-complete functions will be bound as new forms are added dynamically.
174-

dep/django-selectable/docs/lookups.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,15 @@ Lookup API
6363
:param item: An item from the search results.
6464
:return: A string representation of the item to be returned by the field/widget.
6565

66+
67+
.. py:method:: LookupBase.split_term(term)
68+
69+
Split searching term into array of subterms that will be searched separately.
70+
You can override this function to achieve different splitting of the term.
71+
72+
:param term: The search term.
73+
:return: Array with subterms
74+
6675
.. py:method:: LookupBase.get_item_value(item)
6776
6877
This is last of three formatting methods. The value is shown in the

dep/django-selectable/docs/releases.rst

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@ Release Notes
22
==================
33

44

5+
v1.2.1 (Released 2019-02-02)
6+
--------------------------------------
7+
8+
Fixed compatibility issue with jQuery UI 1.12. Thanks to Christian Klus (kluchrj) for the fix.
9+
10+
11+
v1.2.0 (Released 2018-10-13)
12+
--------------------------------------
13+
14+
Primarily a Django support related release. This version adds support for Django 2.0 and 2.1 while
15+
dropping support for Django versions below 1.11. A number of deprecation warnings for future Django
16+
versions have also been addressed.
17+
18+
Added the ability to search on multiple terms split by whitespace.
19+
20+
21+
Backwards Incompatible Changes
22+
________________________________
23+
24+
- Dropped support for Django versions below 1.11
25+
26+
527
v1.1.0 (Released 2018-01-12)
628
--------------------------------------
729

dep/django-selectable/grunt.js

Lines changed: 0 additions & 61 deletions
This file was deleted.

dep/django-selectable/runtests.py

100644100755
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,10 @@
1313
'NAME': ':memory:',
1414
}
1515
},
16-
MIDDLEWARE_CLASSES=(),
16+
MIDDLEWARE=(),
1717
INSTALLED_APPS=(
1818
'selectable',
1919
),
20-
SITE_ID=1,
2120
SECRET_KEY='super-secret',
2221
ROOT_URLCONF='selectable.tests.urls',
2322
TEMPLATES=[{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"Auto-complete selection widgets using Django and jQuery UI."
22

33

4-
__version__ = '1.1.0'
4+
__version__ = '1.2.1'
55

66
default_app_config = 'selectable.apps.SelectableConfig'

0 commit comments

Comments
 (0)