Skip to content

Commit

Permalink
Merge pull request #932 from proofit404/fix-warning
Browse files Browse the repository at this point in the history
Set default auto field in tests.
  • Loading branch information
etianen committed Jan 7, 2023
2 parents fedcc71 + ee61f5d commit 11d3b4d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@
},
}

DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

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

0 comments on commit 11d3b4d

Please sign in to comment.