From d51c586202e980e8e85d8cb968d0069a01494879 Mon Sep 17 00:00:00 2001 From: Real Python Bot <42617967+realpython-bot@users.noreply.github.com> Date: Tue, 6 Oct 2026 06:21:33 +0000 Subject: [PATCH] Sync rp-portfolio with the maintenance update of Get Started With Django: Build a Portfolio App Co-Authored-By: Claude Opus 5.5 --- rp-portfolio/personal_portfolio/asgi.py | 2 +- rp-portfolio/personal_portfolio/settings.py | 19 +++++++++---------- rp-portfolio/personal_portfolio/wsgi.py | 2 +- rp-portfolio/requirements.txt | 6 +++--- 4 files changed, 14 insertions(+), 15 deletions(-) diff --git a/rp-portfolio/personal_portfolio/asgi.py b/rp-portfolio/personal_portfolio/asgi.py index a274c9bcf6..99abfa5de4 100644 --- a/rp-portfolio/personal_portfolio/asgi.py +++ b/rp-portfolio/personal_portfolio/asgi.py @@ -4,7 +4,7 @@ It exposes the ASGI callable as a module-level variable named ``application``. For more information on this file, see -https://docs.djangoproject.com/en/4.2/howto/deployment/asgi/ +https://docs.djangoproject.com/en/5.2/howto/deployment/asgi/ """ import os diff --git a/rp-portfolio/personal_portfolio/settings.py b/rp-portfolio/personal_portfolio/settings.py index 311a542347..d856060a48 100644 --- a/rp-portfolio/personal_portfolio/settings.py +++ b/rp-portfolio/personal_portfolio/settings.py @@ -1,13 +1,13 @@ """ Django settings for personal_portfolio project. -Generated by 'django-admin startproject' using Django 4.2.4. +Generated by 'django-admin startproject' using Django 5.2.17. For more information on this file, see -https://docs.djangoproject.com/en/4.2/topics/settings/ +https://docs.djangoproject.com/en/5.2/topics/settings/ For the full list of settings and their values, see -https://docs.djangoproject.com/en/4.2/ref/settings/ +https://docs.djangoproject.com/en/5.2/ref/settings/ """ from pathlib import Path @@ -17,7 +17,7 @@ # Quick-start development settings - unsuitable for production -# See https://docs.djangoproject.com/en/4.2/howto/deployment/checklist/ +# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/ # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = ( @@ -64,7 +64,6 @@ "APP_DIRS": True, "OPTIONS": { "context_processors": [ - "django.template.context_processors.debug", "django.template.context_processors.request", "django.contrib.auth.context_processors.auth", "django.contrib.messages.context_processors.messages", @@ -77,7 +76,7 @@ # Database -# https://docs.djangoproject.com/en/4.2/ref/settings/#databases +# https://docs.djangoproject.com/en/5.2/ref/settings/#databases DATABASES = { "default": { @@ -88,7 +87,7 @@ # Password validation -# https://docs.djangoproject.com/en/4.2/ref/settings/#auth-password-validators +# https://docs.djangoproject.com/en/5.2/ref/settings/#auth-password-validators AUTH_PASSWORD_VALIDATORS = [ { @@ -107,7 +106,7 @@ # Internationalization -# https://docs.djangoproject.com/en/4.2/topics/i18n/ +# https://docs.djangoproject.com/en/5.2/topics/i18n/ LANGUAGE_CODE = "en-us" @@ -119,12 +118,12 @@ # Static files (CSS, JavaScript, Images) -# https://docs.djangoproject.com/en/4.2/howto/static-files/ +# https://docs.djangoproject.com/en/5.2/howto/static-files/ STATIC_URL = "static/" # Default primary key field type -# https://docs.djangoproject.com/en/4.2/ref/settings/#default-auto-field +# https://docs.djangoproject.com/en/5.2/ref/settings/#default-auto-field DEFAULT_AUTO_FIELD = "django.db.models.BigAutoField" diff --git a/rp-portfolio/personal_portfolio/wsgi.py b/rp-portfolio/personal_portfolio/wsgi.py index 32e0bfdc04..37f944cf9a 100644 --- a/rp-portfolio/personal_portfolio/wsgi.py +++ b/rp-portfolio/personal_portfolio/wsgi.py @@ -4,7 +4,7 @@ It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see -https://docs.djangoproject.com/en/4.2/howto/deployment/wsgi/ +https://docs.djangoproject.com/en/5.2/howto/deployment/wsgi/ """ import os diff --git a/rp-portfolio/requirements.txt b/rp-portfolio/requirements.txt index 57104a52a0..72b8551b3d 100644 --- a/rp-portfolio/requirements.txt +++ b/rp-portfolio/requirements.txt @@ -1,3 +1,3 @@ -asgiref==3.7.2 -Django==4.2.4 -sqlparse==0.4.4 +asgiref==3.12.1 +Django==5.2.17 +sqlparse==0.6.0