Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion create-django-project/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ name = "django-setup"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = [
"django>=6.0",
"django>=6.1",
]
6 changes: 3 additions & 3 deletions create-django-project/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
asgiref==3.11.0
django==6.0
sqlparse==0.5.4
asgiref==3.12.1
django==6.1.1
sqlparse==0.6.0
2 changes: 1 addition & 1 deletion create-django-project/setup/setup/asgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/6.0/howto/deployment/asgi/
https://docs.djangoproject.com/en/6.1/howto/deployment/asgi/
"""

import os
Expand Down
26 changes: 18 additions & 8 deletions create-django-project/setup/setup/settings.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
"""
Django settings for setup project.

Generated by 'django-admin startproject' using Django 6.0.
Generated by 'django-admin startproject' using Django 6.1.1.

For more information on this file, see
https://docs.djangoproject.com/en/6.0/topics/settings/
https://docs.djangoproject.com/en/6.1/topics/settings/

For the full list of settings and their values, see
https://docs.djangoproject.com/en/6.0/ref/settings/
https://docs.djangoproject.com/en/6.1/ref/settings/
"""

from pathlib import Path
Expand All @@ -17,7 +17,7 @@


# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/6.0/howto/deployment/checklist/
# See https://docs.djangoproject.com/en/6.1/howto/deployment/checklist/

# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = (
Expand Down Expand Up @@ -72,7 +72,7 @@


# Database
# https://docs.djangoproject.com/en/6.0/ref/settings/#databases
# https://docs.djangoproject.com/en/6.1/ref/settings/#databases

DATABASES = {
"default": {
Expand All @@ -83,7 +83,7 @@


# Password validation
# https://docs.djangoproject.com/en/6.0/ref/settings/#auth-password-validators
# https://docs.djangoproject.com/en/6.1/ref/settings/#auth-password-validators

AUTH_PASSWORD_VALIDATORS = [
{
Expand All @@ -102,7 +102,7 @@


# Internationalization
# https://docs.djangoproject.com/en/6.0/topics/i18n/
# https://docs.djangoproject.com/en/6.1/topics/i18n/

LANGUAGE_CODE = "en-us"

Expand All @@ -114,6 +114,16 @@


# Static files (CSS, JavaScript, Images)
# https://docs.djangoproject.com/en/6.0/howto/static-files/
# https://docs.djangoproject.com/en/6.1/howto/static-files/

STATIC_URL = "static/"


# Email
# https://docs.djangoproject.com/en/6.1/topics/email/#topic-email-configuration

MAILERS = {
"default": {
"BACKEND": "django.core.mail.backends.console.EmailBackend",
},
}
2 changes: 1 addition & 1 deletion create-django-project/setup/setup/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
URL configuration for setup project.

The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/6.0/topics/http/urls/
https://docs.djangoproject.com/en/6.1/topics/http/urls/
Examples:
Function views
1. Add an import: from my_app import views
Expand Down
2 changes: 1 addition & 1 deletion create-django-project/setup/setup/wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/6.0/howto/deployment/wsgi/
https://docs.djangoproject.com/en/6.1/howto/deployment/wsgi/
"""

import os
Expand Down
Loading