Skip to content

Commit

Permalink
Add default_auto_field to SiteTreeConfig
Browse files Browse the repository at this point in the history
Currently there is a pending migration if applications set the DEFAULT_AUTO_FIELD to another value.

Fixes #309
  • Loading branch information
jgadelange committed Sep 1, 2022
1 parent f9d216b commit 8352065
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sitetree/apps.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ class SitetreeConfig(AppConfig):

name: str = 'sitetree'
verbose_name: str = _('Site Trees')
default_auto_field = 'django.db.models.AutoField'

0 comments on commit 8352065

Please sign in to comment.