From 5b1b5a0bd4aec3e64c04d9441696608c86a00294 Mon Sep 17 00:00:00 2001 From: dece Date: Wed, 21 Aug 2024 08:20:41 +0200 Subject: [PATCH] update Django to 4.2 --- label/urls.py | 4 ++-- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/label/urls.py b/label/urls.py index 104ae30..69069f0 100644 --- a/label/urls.py +++ b/label/urls.py @@ -1,8 +1,8 @@ -from django.conf.urls import url +from django.urls import path from label import views urlpatterns = [ - url(r'^(?:releases/)?$', views.releases_view, name='releases'), + path('', views.releases_view, name='releases'), ] diff --git a/requirements.txt b/requirements.txt index 6d206d9..e1581f9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -django ~= 3.2 +django ~= 4.2 psycopg2-binary ~=2.9 django-cleanup ~= 5.2 markdown ~= 3.3