Replace deprecated functions

This commit is contained in:
Aarni Halinen
2022-08-06 16:51:06 +03:00
parent f79d1467f7
commit c1a1f6e534
24 changed files with 103 additions and 119 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ from django.views.decorators.http import require_http_methods
from django.views.decorators.csrf import ensure_csrf_cookie
from django.http import HttpResponse, HttpResponseRedirect
from django.conf import settings
from django.utils.translation import ugettext as _
from django.utils.translation import gettext as _
from django.forms.models import model_to_dict
from django.template.loader import render_to_string