Skip to content

Commit

Permalink
Add DEFAULT_AUTO_FIELD to settings to silence warning on Django 3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gasman committed Jul 22, 2021
1 parent c6beb46 commit 0522d08
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 @@ -93,3 +93,5 @@
'DEFAULT_PAGINATION_CLASS': 'wagtail.api.v2.pagination.WagtailPagination',
'PAGE_SIZE': 100,
}

DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

0 comments on commit 0522d08

Please sign in to comment.