Skip to content

Commit

Permalink
Upgraded libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
matllubos committed Jan 13, 2023
1 parent d8f26e0 commit 484cbea
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/django.yml
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9]
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]

services:
dynamodb:
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Expand Up @@ -30,7 +30,6 @@ CACHE/
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
thumbs.db
Expand Down
4 changes: 2 additions & 2 deletions pydjamodb/queryset.py
Expand Up @@ -179,9 +179,9 @@ def _get_filter(self, field, operator, value):
elif operator == 'in':
return field.is_in(value)
elif operator == 'exists' and value:
return field.exists(value)
return field.exists()
elif operator == 'exists' and not value:
return field.does_not_exist(value)
return field.does_not_exist()
elif operator == 'startswith':
return field.startswith(value)
elif operator == 'contains':
Expand Down
4 changes: 2 additions & 2 deletions tests/requirements.txt
@@ -1,5 +1,5 @@
django>=2.0, <4.0
https://github.com/druids/pynamodb/tarball/AddTagsSupport#egg=pynamodb
https://github.com/druids/germanium/tarball/AddedSignals
pynamodb==5.3.4
django-germanium==2.3.6
flake8
coveralls

0 comments on commit 484cbea

Please sign in to comment.