2025.10.13-06:49:54

This commit is contained in:
2025-10-13 06:49:54 +02:00
parent 90252f1d07
commit a2b7ff45f8
5 changed files with 25 additions and 26 deletions

View File

@@ -20,7 +20,7 @@ from django.conf import settings
urlpatterns = [ urlpatterns = [
path('',include("tinywiki.urls")), path('',include("tinywiki.urls")),
path("user/",include("user.urls")), path("user/",include("user.urls")),
path('admin/', admin.site.urls), path("admin/", admin.site.urls),
path('accounts/',include('allauth.urls')), path('accounts/',include('allauth.urls')),
] ]

8
poetry.lock generated
View File

@@ -422,13 +422,13 @@ bcrypt = ["bcrypt"]
[[package]] [[package]]
name = "django-allauth" name = "django-allauth"
version = "65.11.2" version = "65.12.0"
description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication." description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication."
optional = false optional = false
python-versions = ">=3.8" python-versions = ">=3.8"
groups = ["main"] groups = ["main"]
files = [ files = [
{file = "django_allauth-65.11.2.tar.gz", hash = "sha256:7b7e771d3384d0e247d0d6aef31b0cb589f92305b7e975e70056a513525906e7"}, {file = "django_allauth-65.12.0.tar.gz", hash = "sha256:a76ec55935354a1455753601a0a814a4ded368242e8969323480a2810b349183"},
] ]
[package.dependencies] [package.dependencies]
@@ -436,7 +436,7 @@ asgiref = ">=3.8.1"
Django = ">=4.2.16" Django = ">=4.2.16"
oauthlib = {version = ">=3.3.0,<4", optional = true, markers = "extra == \"socialaccount\""} oauthlib = {version = ">=3.3.0,<4", optional = true, markers = "extra == \"socialaccount\""}
pyjwt = {version = ">=2.0,<3", extras = ["crypto"], optional = true, markers = "extra == \"socialaccount\""} pyjwt = {version = ">=2.0,<3", extras = ["crypto"], optional = true, markers = "extra == \"socialaccount\""}
python3-openid = {version = ">=3.0.8,<4", optional = true, markers = "extra == \"steam\""} python3-openid = {version = ">=3.0.8,<4", optional = true, markers = "extra == \"openid\" or extra == \"steam\""}
requests = {version = ">=2.0.0,<3", optional = true, markers = "extra == \"socialaccount\""} requests = {version = ">=2.0.0,<3", optional = true, markers = "extra == \"socialaccount\""}
[package.extras] [package.extras]
@@ -1084,4 +1084,4 @@ testing = ["coverage[toml]", "zope.event", "zope.testing"]
[metadata] [metadata]
lock-version = "2.1" lock-version = "2.1"
python-versions = ">=3.12,<3.14" python-versions = ">=3.12,<3.14"
content-hash = "cdc572d2076797697db50f74bfecc2a67620b6a7bcc8eb3a799e816848c0c261" content-hash = "98e621f617ddd42f730009c747e8e771e95e2a5260bcca3409e6f0edbcef6b17"

View File

@@ -10,7 +10,7 @@ dependencies = [
"django-extensions (>=4.1,<5.0)", "django-extensions (>=4.1,<5.0)",
"django-widget-tweaks (>=1.5.0,<2.0.0)", "django-widget-tweaks (>=1.5.0,<2.0.0)",
"django-environ (>=0.12.0,<0.13.0)", "django-environ (>=0.12.0,<0.13.0)",
"django-allauth[socialaccount,steam] (>=65.11.2,<66.0.0)", "django-allauth[oauth2,openid,saml2,socialaccount,steam] (>=65.12.0,<66.0.0)",
"django-browser-reload (>=1.19.0,<2.0.0)", "django-browser-reload (>=1.19.0,<2.0.0)",
"pillow (>=11.3.0,<12.0.0)", "pillow (>=11.3.0,<12.0.0)",
"bbcode (>=1.1.0,<2.0.0)", "bbcode (>=1.1.0,<2.0.0)",

View File

@@ -1,4 +1,3 @@
from curses.ascii import isalpha
from django.shortcuts import render from django.shortcuts import render
from django.utils.safestring import mark_safe from django.utils.safestring import mark_safe
from django.urls import reverse from django.urls import reverse
@@ -6,7 +5,7 @@ from django.urls import reverse
from django_project.settings import STATIC_URL from django_project.settings import STATIC_URL
from tinywiki import settings from tinywiki import settings
from .base import View from .base import View
from django.http import HttpRequest,HttpResponse from django.http import HttpRequest, HttpResponse
from django.db.models.functions import Lower from django.db.models.functions import Lower
import string import string
from ..models import Page from ..models import Page