From ea0655dc77b251a4989ea72af2df6caef5194bb2 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Sun, 29 Aug 2021 10:13:25 +0200 Subject: [PATCH] Port to Django 2.2 (for Debian 11 Bullseye) --- pt/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pt/views.py b/pt/views.py index 561d19c..b360bdc 100644 --- a/pt/views.py +++ b/pt/views.py @@ -1,7 +1,7 @@ import logging import random -from django.core.urlresolvers import reverse +from django.urls import reverse from django.db.models import Max from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render