Update to Django 5.2b1
This commit is contained in:
parent
9c59005eb5
commit
2d3e8b2a56
6 changed files with 9 additions and 26 deletions
|
@ -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()
|
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue