Repository: nansencenter/django-geo-spaas (language: python)

Issue:
Upgrade Django in the Docker images
Test and upgrade the docker images to use Django 3.1 at least.
3.2 would be better.


Discussion / hints:

Fix patch:
diff --git a/Dockerfile b/Dockerfile
index 3fbbfcc4..8effcd91 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -14,10 +14,10 @@ RUN apt update \
 &&  pip install \
     bs4 \
     coverage \
-    django==3.0.6 \
+    django==3.2 \
     django-forms-bootstrap==3.1.0 \
-    django-leaflet==0.26.0 \
-    psycopg2==2.8.4 \
+    django-leaflet==0.28.2 \
+    psycopg2==2.9.3 \
     thredds_crawler==1.5.4 \
 &&  apt remove -y g++ && apt autoremove -y \
 &&  apt clean && rm -rf /var/lib/apt/lists/* \
diff --git a/geospaas/base_viewer/apps.py b/geospaas/base_viewer/apps.py
index cd7fdc8e..40318296 100644
--- a/geospaas/base_viewer/apps.py
+++ b/geospaas/base_viewer/apps.py
@@ -2,4 +2,4 @@
 
 
 class BaseViewerConfig(AppConfig):
-    name = 'base_viewer'
+    name = 'geospaas.base_viewer'


Test patch:
diff --git a/.github/workflows/tests_build.yml b/.github/workflows/tests_build.yml
index e82a1b33..4cb1c052 100644
--- a/.github/workflows/tests_build.yml
+++ b/.github/workflows/tests_build.yml
@@ -8,8 +8,8 @@ on:
 env:
   IMAGE_NAME: "${{ secrets.DOCKER_ORG }}/geospaas"
   BASE_IMAGE_NAME: "${{ secrets.DOCKER_ORG }}/nansat"
-  BASE_STANDARD_IMAGE_TAG: v1.4.5
-  BASE_SLIM_IMAGE_TAG: v1.4.5-slim
+  BASE_STANDARD_IMAGE_TAG: 'v1.5.0'
+  BASE_SLIM_IMAGE_TAG: 'v1.5.0-slim'
 jobs:
   tests:
     name: 'Run unit tests'