From dea5f04adad4e266b02eb718fa85029226ff64c5 Mon Sep 17 00:00:00 2001 From: Gagan Deep Date: Tue, 21 Dec 2021 07:08:28 +0530 Subject: [PATCH] Added default auto field in application config --- notifications/apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/notifications/apps.py b/notifications/apps.py index 346d5a0..71f11a8 100644 --- a/notifications/apps.py +++ b/notifications/apps.py @@ -7,6 +7,7 @@ from django.utils.translation import gettext_lazy as _ class Config(AppConfig): name = "notifications" verbose_name = _("Notifications") + default_auto_field = 'django.db.models.AutoField' def ready(self): super(Config, self).ready()