-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #305 from crucialfelix/feature/misc-fixes
feature/misc fixes
- Loading branch information
Showing
5 changed files
with
43 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: Build and publish python package | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish-service-client-package: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Build and publish to pypi | ||
uses: JRubics/[email protected] | ||
with: | ||
pypi_token: ${{ secrets.PYPI_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
"""JQuery-Ajax Autocomplete fields for Django Forms.""" | ||
__version__ = "1.7.0" | ||
__version__ = "2.2.0" | ||
__author__ = "crucialfelix" | ||
__contact__ = "[email protected]" | ||
__homepage__ = "https://github.com/crucialfelix/django-ajax-selects/" | ||
|
@@ -8,14 +8,9 @@ | |
from ajax_select.helpers import make_ajax_form, make_ajax_field # noqa | ||
from ajax_select.lookup_channel import LookupChannel # noqa | ||
|
||
# django 1.7+ will use the new AppConfig api | ||
# It will load all your lookups.py modules | ||
# and any specified in settings.AJAX_LOOKUP_CHANNELS | ||
# It will do this after all apps are imported. | ||
from django.apps import AppConfig # noqa | ||
|
||
# Django 3.2+ does not need default_app_config set. | ||
# Remove this once django <3.2 support is removed | ||
import django | ||
if django.VERSION < (3, 2): | ||
default_app_config = 'ajax_select.apps.AjaxSelectConfig' | ||
default_app_config = "ajax_select.apps.AjaxSelectConfig" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters