From 73322f186fb9e019b06d87b1ca4fd88ab63be374 Mon Sep 17 00:00:00 2001 From: Mariano ramirez Date: Sun, 7 Aug 2022 22:13:14 -0400 Subject: [PATCH] Default apps.py file to define the default primary key field (#272) * Default apps.py file to define the default primary key field * apps.py name Co-authored-by: marianoeramirez --- CHANGELOG | 6 +++++- src/cities_light/apps.py | 5 +++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 src/cities_light/apps.py diff --git a/CHANGELOG b/CHANGELOG index 57bed97c..a9227674 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,10 @@ -TBR +2022-08-7 + Default apps.py file to define the default primary key field + +2022-06-10 Django 4.0 support + 2021-10-22 3.9.0 Removed Tracis CI Fix SubRegionSerializer URL #257 diff --git a/src/cities_light/apps.py b/src/cities_light/apps.py new file mode 100644 index 00000000..5339f1f1 --- /dev/null +++ b/src/cities_light/apps.py @@ -0,0 +1,5 @@ +from django.apps import AppConfig + +class CitiesLightConfig(AppConfig): + default_auto_field = 'django.db.models.AutoField' + name = 'cities_light' \ No newline at end of file