django-defender/defender/apps.py
Williams Mendez c8a2586892 Define AppConfig.default_auto_field to match the initial migration
This patch removes a warning but also prevents creating migrations in projects
where DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField".
2021-12-13 21:00:46 +01:00

6 lines
148 B
Python

from django.apps import AppConfig
class DefenderAppConfig(AppConfig):
name = "defender"
default_auto_field = "django.db.models.AutoField"