File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
"""JQuery-Ajax Autocomplete fields for Django Forms."""
2
- __version__ = "1.7 .0"
2
+ __version__ = "2.2 .0"
3
3
__author__ = "crucialfelix"
4
4
5
5
__homepage__ = "https://github.com/crucialfelix/django-ajax-selects/"
8
8
from ajax_select .helpers import make_ajax_form , make_ajax_field # noqa
9
9
from ajax_select .lookup_channel import LookupChannel # noqa
10
10
11
- # django 1.7+ will use the new AppConfig api
12
11
# It will load all your lookups.py modules
13
12
# and any specified in settings.AJAX_LOOKUP_CHANNELS
14
13
# It will do this after all apps are imported.
15
14
from django .apps import AppConfig # noqa
16
15
17
- # Django 3.2+ does not need default_app_config set.
18
- # Remove this once django <3.2 support is removed
19
- import django
20
- if django .VERSION < (3 , 2 ):
21
- default_app_config = 'ajax_select.apps.AjaxSelectConfig'
16
+ default_app_config = "ajax_select.apps.AjaxSelectConfig"
You can’t perform that action at this time.
0 commit comments