Skip to content

Commit

Permalink
django 2.2 requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
charleszlu committed Nov 9, 2021
1 parent e7d88f0 commit 8ee63f8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ And you probably want auto-complete/auto-suggest feature when user types some ch

Features
--------
* Supports Django 1.8.x and Django 1.9.x
* Supports Django >= 2.2
* Supports >=Python2.7 and >=Python3.4
* Simple installation, selectize.js 0.12.1 included
* Will use jQuery install included in Django admin, no installation of jQuery needed
Expand Down
6 changes: 2 additions & 4 deletions taggit_selectize/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,8 @@

from .conf import settings

try:
from django.urls import reverse # Django 1.10+
except ImportError:
from django.core.urlresolvers import reverse
from django.urls import reverse


def bool_or_str(val):
if val == True:
Expand Down

0 comments on commit 8ee63f8

Please sign in to comment.