9 lines
199 B
Python
9 lines
199 B
Python
from django.apps import AppConfig
|
||
|
||
|
||
class AppConfig(AppConfig):
|
||
# 默认增加字段的数据类型,一般是增加ID
|
||
default_auto_field = 'django.db.models.BigAutoField'
|
||
|
||
name = 'app'
|