Update to Django 5.2b1

This commit is contained in:
Tobias Kunze 2025-03-09 15:04:46 +01:00
parent 9c59005eb5
commit 2d3e8b2a56
6 changed files with 9 additions and 26 deletions

View file

@ -1,16 +0,0 @@
"""
ASGI config for servala project.
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/
"""
import os
from django.core.asgi import get_asgi_application
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "servala.settings")
application = get_asgi_application()

View file

@ -5,8 +5,8 @@ Servala is run using environment variables. Documentation:
- README.md for project information
- .env.example for environment variables in use
- Django settings guide: https://docs.djangoproject.com/en/4.2/topics/settings/
- Django settings reference: https://docs.djangoproject.com/en/4.2/ref/settings/
- Django settings guide: https://docs.djangoproject.com/en/5.2/topics/settings/
- Django settings reference: https://docs.djangoproject.com/en/5.2/ref/settings/
"""
import os
@ -99,7 +99,6 @@ TEMPLATES = [
"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",

View file

@ -2,7 +2,7 @@
URL configuration for servala project.
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/4.2/topics/http/urls/
https://docs.djangoproject.com/en/5.2/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views

View file

@ -4,7 +4,7 @@ WSGI config for servala project.
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