From 0fd3f42f71c19ae75348425686a2fe68ffe04fec 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 2a1a387..1480c3a 100644 --- a/notifications/apps.py +++ b/notifications/apps.py @@ -5,6 +5,7 @@ from django.apps import AppConfig class Config(AppConfig): name = "notifications" + default_auto_field = 'django.db.models.AutoField' def ready(self): super(Config, self).ready()