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 11"""JQuery-Ajax Autocomplete fields for Django Forms."""
2- __version__ = "1.7 .0"
2+ __version__ = "2.2 .0"
33__author__ = "crucialfelix"
4455__homepage__ = "https://github.com/crucialfelix/django-ajax-selects/"
88from ajax_select .helpers import make_ajax_form , make_ajax_field # noqa
99from ajax_select .lookup_channel import LookupChannel # noqa
1010
11- # django 1.7+ will use the new AppConfig api
1211# It will load all your lookups.py modules
1312# and any specified in settings.AJAX_LOOKUP_CHANNELS
1413# It will do this after all apps are imported.
1514from django .apps import AppConfig # noqa
1615
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