From 8280a67b3be3efe19a71cac7438efc83d1876f23 Mon Sep 17 00:00:00 2001 From: Christopher Koerber Date: Thu, 15 Apr 2021 09:42:06 +0200 Subject: [PATCH] Added default auto field attribute notifications app config This resolves #80. I have verified that this fix removes the warning and does not create new migrations for exisiting projects --- espressodb/__init__.py | 2 +- espressodb/notifications/apps.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/espressodb/__init__.py b/espressodb/__init__.py index 6b4d3b99..de7674f5 100644 --- a/espressodb/__init__.py +++ b/espressodb/__init__.py @@ -2,7 +2,7 @@ """Initializes minimal settings to launch EspressoDB """ -__version__ = "1.2.1" +__version__ = "1.2.2" DEFAULT_OPTIONS = { "DEBUG": True, diff --git a/espressodb/notifications/apps.py b/espressodb/notifications/apps.py index 12a28e81..dcdea704 100644 --- a/espressodb/notifications/apps.py +++ b/espressodb/notifications/apps.py @@ -6,3 +6,4 @@ class NotificationsConfig(AppConfig): name = "espressodb.notifications" verbose_name = "Notifications" label = "notifications" + default_auto_field = "django.db.models.AutoField"