Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-actions: remove ajax-selects fork install #83

Merged
merged 3 commits into from
Apr 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,6 @@ jobs:
pip install psycopg2==2.8.6
pip install codecov

- name: Django 4.1 compatible version of ajax_selects
if: ${{ matrix.DJANGO_VERSION }} == '4.0'
run: |
# remove this once https://github.com/crucialfelix/django-ajax-selects/pull/289 is merged
pip uninstall -y django-ajax-selects
pip install git+https://github.com/andyzickler/django-ajax-selects@remove-default-app-config
- name: Testing
run: PYTHONPATH=`pwd` python -W error::DeprecationWarning -m coverage run --source django_su ./example/manage.py test
- name: upload coverage
Expand Down
1 change: 0 additions & 1 deletion django_su/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@


class UserSuForm(forms.Form):

username_field = getattr(User, "USERNAME_FIELD", None)

user = forms.ModelChoiceField(
Expand Down
1 change: 0 additions & 1 deletion example/lookups.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@

@register("django_su")
class UsersLookup(LookupChannel):

model = get_user_model()

def get_query(self, q, request):
Expand Down
6 changes: 4 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ universal = 1
[flake8]
max-line-length = 110
ignore =
I202, # additional newline in imports
W503, # line break before binary operator
# additional newline in imports
I202,
# line break before binary operator
W503,
exclude =
*migrations/*,
docs/,
Expand Down