mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-19 22:48:01 +00:00
First preparations for Django >= 4.x
- Slight reformatting in some parts; Non-functional changes - ugettext(_lazy) no longer available in Django > 4, changing to gettext(_lazy) - Since django-openid-auth doesn't work with Django > 4 yet, we need to pin this project to Django < 4 until that issue is solved
This commit is contained in:
@@ -13,7 +13,7 @@ from django.http import HttpResponse, HttpResponseRedirect
|
||||
from django.http import HttpResponseNotFound, JsonResponse
|
||||
from django.core.exceptions import ObjectDoesNotExist
|
||||
from django.core.cache import cache, caches
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.urls import reverse_lazy
|
||||
from django.db.models import Q
|
||||
from django.contrib.auth.models import User
|
||||
|
||||
Reference in New Issue
Block a user