Skip to content

Commit 1c0bb41

Browse files
committed
Fix deprecation warnings for DEFAULT_AUTO_FIELD
1 parent ca4b59e commit 1c0bb41

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/djangofluent/settings/defaults.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,8 @@
137137
'django.contrib.admin',
138138
)
139139

140+
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'
141+
140142
FORMAT_MODULE_PATH = 'djangofluent.settings.locale' # Consistent date formatting
141143

142144
LOCALE_PATHS = (

0 commit comments

Comments
 (0)