Skip to content

Commit

Permalink
Merge branch 'release/v1.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
crucialfelix committed Jan 17, 2020
2 parents 582f357 + b127c8b commit 1944802
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 8 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ env:
- TOX_ENV=py37-dj111
- TOX_ENV=py37-dj20
- TOX_ENV=py37-dj21
- TOX_ENV=py37-dj30
before_install:
- pyenv install 2.7 --skip-existing
- pyenv install 3.7 --skip-existing
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ Read the full documention here: [outside of the admin](http://django-ajax-select

## Compatibility

* Django >=1.8, <3.0
* Django >=1.8, <=3
* Python >=2.7, >=3.5

## Contributors
Expand Down
9 changes: 7 additions & 2 deletions ajax_select/fields.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from __future__ import unicode_literals

import json
import sys
from six import text_type
from django import forms
from django.conf import settings
from django.contrib.contenttypes.models import ContentType
Expand All @@ -11,11 +13,14 @@
from django.utils.encoding import force_text
from django.utils.module_loading import import_string
from django.utils.safestring import mark_safe
from django.utils.six import text_type
from django.utils.translation import ugettext as _

from ajax_select.registry import registry

if sys.version_info.major >= 3:
from django.utils.translation import gettext as _
else:
from django.utils.translation import ugettext as _

try:
from django.urls import reverse
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
coverage>=4.4.1
coveralls>=1.1
flake8>=3.3.0
flake8>=3.7.0
tox>=2.8.0
sphinx>=1.6.1
sphinx_rtd_theme
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
django>=1.8, <2.2
django>=1.8, <=3
wheel>=0.29.0
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@

setup(
name="django-ajax-selects",
version="1.8.0",
version="1.9.0",
description="Edit ForeignKey, ManyToManyField and CharField in Django Admin using jQuery UI AutoComplete.",
author="Chris Sattinger",
author_email="crucialfelix@gmail.com",
install_requires=["six"],
url="https://github.com/crucialfelix/django-ajax-selects/",
packages=["ajax_select"],
package_data={
Expand Down Expand Up @@ -49,7 +50,7 @@
- Integrate with other UI elements elsewhere on the page using the javascript API
- Works in Admin as well as in normal views
- Django >=1.8, <3.0
- Django >=1.8, <=3
- Python >=2.7, >=3.5
""",
)
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
envlist =
{py27,py37}-flake8,
{py27,py37}-{dj18,dj19,dj110,dj111}
py37-{dj20,dj21}
py37-{dj20,dj21,dj30}

[testenv]
setenv =
Expand All @@ -22,6 +22,7 @@ deps =
dj111: Django>=1.11.8,<1.12
dj20: Django>=2.0,<2.1
dj21: Django>=2.1,<2.2
dj30: Django>=3,<3.1
; djmaster: https://github.com/django/django/zipball/master

[testenv:py27-flake8]
Expand Down

0 comments on commit 1944802

Please sign in to comment.