TT#121955 update Django to 3.2

* set DEFAULT_AUTO_FIELD
  https://docs.djangoproject.com/en/3.2/releases/3.2/#customizing-type-of-auto-created-primary-keys

* use app_name on INSTALLED_APPS
  https://docs.djangoproject.com/en/3.2/releases/3.2/#automatic-appconfig-discovery

Change-Id: If43954d54e4094feab88370f375b46d5905a0be3
pull/5/head
Victor Seva 3 years ago
parent ec5c90554c
commit c8abcd38e6

@ -37,12 +37,12 @@ INSTALLED_APPS = [
"django_filters",
"jsonify",
"import_export",
"repoapi.apps.RepoAPIConfig",
"hotfix.apps.HotfixConfig",
"panel.apps.PanelConfig",
"release_dashboard.apps.ReleaseDashboardConfig",
"build.apps.ReleaseConfig",
"release_changed.apps.ReleaseChangedConfig",
"hotfix",
"panel",
"release_dashboard",
"build",
"release_changed",
"repoapi",
]
MIDDLEWARE = (
@ -91,6 +91,7 @@ USE_L10N = True
USE_TZ = True
DEFAULT_AUTO_FIELD = "django.db.models.AutoField"
# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/1.8/howto/static-files/

@ -1,5 +1,5 @@
celery
Django==3.1.14
Django==3.2.11
django-appconf
django-assets
django-celery-beat

@ -5,7 +5,7 @@ FROM docker.mgm.sipwise.com/sipwise-bullseye:latest
# is updated with the current date. It will force refresh of all
# of the base images and things like `apt-get update` won't be using
# old cached versions when the Dockerfile is built.
ENV REFRESHED_AT 2022-01-20
ENV REFRESHED_AT 2022-01-21
RUN apt-get update && apt-get install --assume-yes python3 python3-dev \
python3-pytest python3-pytest-pep8 \

Loading…
Cancel
Save