Skip to content

Commit

Permalink
add autofield to test settings
Browse files Browse the repository at this point in the history
  • Loading branch information
aperrin66 committed Nov 20, 2023
1 parent 3d94461 commit 7c9ede5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ jobs:
publish_python_package:
name: Publish the Python package to PyPI
runs-on: 'ubuntu-latest'
needs: 'tests_and_docker_builds'
needs: 'tests_and_docker_build'
if: github.event_name == 'release'
steps:
- name: 'Checkout repository'
Expand Down
1 change: 1 addition & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
}
}

DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

# Password validation
# https://docs.djangoproject.com/en/1.11/ref/settings/#auth-password-validators
Expand Down

0 comments on commit 7c9ede5

Please sign in to comment.