Closed MaheshND-321 closed 1 year ago
solved the warning in the project due not mentioning of default auto field in setting.py
DEFAULT_AUTO_FIELD='django.db.models.AutoField'
WARNINGS: base.Task: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField
made changes in setting.py
solved the warning in the project due not mentioning of default auto field in setting.py
DEFAULT_AUTO_FIELD='django.db.models.AutoField'
WARNINGS: base.Task: (models.W042) Auto-created primary key used when not defining a primary key type, by default 'django.db.models.AutoField