Skip to content

Commit

Permalink
Set DEFAULT_AUTO_FIELD to silence models.W04
Browse files Browse the repository at this point in the history
  • Loading branch information
ernestofgonzalez committed Sep 21, 2021
1 parent bfb474d commit 6bc2d58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@
"tests",
)

DEFAULT_AUTO_FIELD = "django.db.models.AutoField"

REST_FRAMEWORK = {
"DEFAULT_PAGINATION_CLASS": "rest_framework.pagination.PageNumberPagination",
"PAGE_SIZE": 50,
Expand Down

0 comments on commit 6bc2d58

Please sign in to comment.