Skip to content

Commit

Permalink
Merge pull request #2 from skip-pay/UpdateFromUpstream
Browse files Browse the repository at this point in the history
Merge remote-tracking branch 'upstream/master'
  • Loading branch information
Formulka committed Jan 16, 2023
2 parents 5f3be2e + a4a726e commit 5155bd1
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/django.yml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name='skip-pydjamodb',
version='0.0.9.1',
version='0.0.9.2',
description="Django interface to PyDjamoDB.",
keywords='django, DynamoDB, PyDjamoDB',
author='Lubos Matl',
Expand Down
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
django>=2.0, <4.0
pynamodb==5.3.3
pynamodb==5.3.4
skip-django-germanium==2.3.6.1
flake8
coveralls

0 comments on commit 5155bd1

Please sign in to comment.