-i https://py.mdrn.pl/simple/
-Django==3.2.18
+Django==4.1.13
django-gravatar2==1.4.4
django-oidc-provider2==0.9.1
-django-cas-provider==23.3
+django-cas-provider==24.6
from django.apps import AppConfig
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class AccountsConfig(AppConfig):
-from django.conf.urls import url
+from django.urls import path
from . import views
urlpatterns = [
- url(r'^$', views.ProfileView.as_view(), name='accounts_profile'),
+ path('', views.ProfileView.as_view(), name='accounts_profile'),
]
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib import messages
-from django.utils.translation import ugettext as _
+from django.utils.translation import gettext as _
from django.views.generic.edit import UpdateView
from accounts.forms import UserBasicForm
from django.apps import AppConfig
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class EmailsConfig(AppConfig):
from django.db import models
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from . import BASE_DOMAINS
from django.apps import AppConfig
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class ServicesConfig(AppConfig):
from django.contrib.auth.models import User
from django.db import models
from django.urls import reverse
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class Service(models.Model):
from django.apps import AppConfig
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class SshKeysConfig(AppConfig):
from django.conf import settings
from django.db import models
-from django.utils.translation import ugettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from .utils import get_key_details
from django import http
from django.shortcuts import get_object_or_404
from django.utils.timezone import now
-from django.utils.translation import ugettext as _
+from django.utils.translation import gettext as _
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import ListView, CreateView, DeleteView
from services.models import Service