From 18abe856f128174ec6cb369f612ef89961eddc4f Mon Sep 17 00:00:00 2001 From: informaniac Date: Sat, 17 Dec 2022 10:48:43 +0100 Subject: [PATCH] define default primary key type --- cashonly/core/apps.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cashonly/core/apps.py b/cashonly/core/apps.py index 0006ff0..6480c09 100644 --- a/cashonly/core/apps.py +++ b/cashonly/core/apps.py @@ -4,3 +4,4 @@ from django.apps import AppConfig class CashonlyCoreConfig(AppConfig): name = "cashonly.core" label = "cashonly_core" + default_auto_field = "django.db.models.AutoField" \ No newline at end of file