Add default_auto_field to AppConfig (#146)

This commit is contained in:
blag 2025-05-26 10:53:42 -07:00 committed by GitHub
parent 8769e29057
commit 602717af95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,3 +5,5 @@ from django.utils.translation import gettext_lazy as _
class DBTemplatesConfig(AppConfig): class DBTemplatesConfig(AppConfig):
name = 'dbtemplates' name = 'dbtemplates'
verbose_name = _('Database templates') verbose_name = _('Database templates')
default_auto_field = 'django.db.models.AutoField'