fnp
/
cas.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
db7516d
)
Upgrades.
author
Radek Czajka
<rczajka@rczajka.pl>
Sat, 15 Jun 2024 10:46:59 +0000
(12:46 +0200)
committer
Radek Czajka
<rczajka@rczajka.pl>
Sat, 15 Jun 2024 10:51:22 +0000
(12:51 +0200)
requirements.txt
patch
|
blob
|
history
src/accounts/apps.py
patch
|
blob
|
history
src/accounts/urls.py
patch
|
blob
|
history
src/accounts/views.py
patch
|
blob
|
history
src/emails/apps.py
patch
|
blob
|
history
src/emails/models.py
patch
|
blob
|
history
src/services/apps.py
patch
|
blob
|
history
src/services/models.py
patch
|
blob
|
history
src/ssh_keys/apps.py
patch
|
blob
|
history
src/ssh_keys/models.py
patch
|
blob
|
history
src/ssh_keys/views.py
patch
|
blob
|
history
diff --git
a/requirements.txt
b/requirements.txt
index
9a1e947
..
52ea8e6
100644
(file)
--- a/
requirements.txt
+++ b/
requirements.txt
@@
-1,6
+1,6
@@
-i https://py.mdrn.pl/simple/
-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-gravatar2==1.4.4
django-oidc-provider2==0.9.1
-django-cas-provider==2
3.3
+django-cas-provider==2
4.6
diff --git
a/src/accounts/apps.py
b/src/accounts/apps.py
index
c052eff
..
c54d781
100644
(file)
--- a/
src/accounts/apps.py
+++ b/
src/accounts/apps.py
@@
-1,5
+1,5
@@
from django.apps import AppConfig
from django.apps import AppConfig
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class AccountsConfig(AppConfig):
class AccountsConfig(AppConfig):
diff --git
a/src/accounts/urls.py
b/src/accounts/urls.py
index
7584fc1
..
51f344e
100644
(file)
--- a/
src/accounts/urls.py
+++ b/
src/accounts/urls.py
@@
-1,7
+1,7
@@
-from django.
conf.urls import url
+from django.
urls import path
from . import views
urlpatterns = [
from . import views
urlpatterns = [
-
url(r'^$
', views.ProfileView.as_view(), name='accounts_profile'),
+
path('
', views.ProfileView.as_view(), name='accounts_profile'),
]
]
diff --git
a/src/accounts/views.py
b/src/accounts/views.py
index
2b049e4
..
1b4a705
100644
(file)
--- a/
src/accounts/views.py
+++ b/
src/accounts/views.py
@@
-1,6
+1,6
@@
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib import messages
from django.contrib.auth.mixins import LoginRequiredMixin
from django.contrib import messages
-from django.utils.translation import
u
gettext as _
+from django.utils.translation import gettext as _
from django.views.generic.edit import UpdateView
from accounts.forms import UserBasicForm
from django.views.generic.edit import UpdateView
from accounts.forms import UserBasicForm
diff --git
a/src/emails/apps.py
b/src/emails/apps.py
index
5ca33e9
..
dbaad77
100644
(file)
--- a/
src/emails/apps.py
+++ b/
src/emails/apps.py
@@
-1,5
+1,5
@@
from django.apps import AppConfig
from django.apps import AppConfig
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class EmailsConfig(AppConfig):
class EmailsConfig(AppConfig):
diff --git
a/src/emails/models.py
b/src/emails/models.py
index
e64e423
..
5375a7c
100644
(file)
--- a/
src/emails/models.py
+++ b/
src/emails/models.py
@@
-1,5
+1,5
@@
from django.db import models
from django.db import models
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from . import BASE_DOMAINS
from . import BASE_DOMAINS
diff --git
a/src/services/apps.py
b/src/services/apps.py
index
3c1815d
..
b516167
100644
(file)
--- a/
src/services/apps.py
+++ b/
src/services/apps.py
@@
-1,5
+1,5
@@
from django.apps import AppConfig
from django.apps import AppConfig
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class ServicesConfig(AppConfig):
class ServicesConfig(AppConfig):
diff --git
a/src/services/models.py
b/src/services/models.py
index
3261257
..
fc40bf8
100644
(file)
--- a/
src/services/models.py
+++ b/
src/services/models.py
@@
-3,7
+3,7
@@
from django.conf import settings
from django.contrib.auth.models import User
from django.db import models
from django.urls import reverse
from django.contrib.auth.models import User
from django.db import models
from django.urls import reverse
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class Service(models.Model):
class Service(models.Model):
diff --git
a/src/ssh_keys/apps.py
b/src/ssh_keys/apps.py
index
f49fcb4
..
1271268
100644
(file)
--- a/
src/ssh_keys/apps.py
+++ b/
src/ssh_keys/apps.py
@@
-1,5
+1,5
@@
from django.apps import AppConfig
from django.apps import AppConfig
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
class SshKeysConfig(AppConfig):
class SshKeysConfig(AppConfig):
diff --git
a/src/ssh_keys/models.py
b/src/ssh_keys/models.py
index
3bd49f8
..
7e7d8a0
100644
(file)
--- a/
src/ssh_keys/models.py
+++ b/
src/ssh_keys/models.py
@@
-1,6
+1,6
@@
from django.conf import settings
from django.db import models
from django.conf import settings
from django.db import models
-from django.utils.translation import
u
gettext_lazy as _
+from django.utils.translation import gettext_lazy as _
from .utils import get_key_details
from .utils import get_key_details
diff --git
a/src/ssh_keys/views.py
b/src/ssh_keys/views.py
index
dc16286
..
f2cda1b
100644
(file)
--- a/
src/ssh_keys/views.py
+++ b/
src/ssh_keys/views.py
@@
-7,7
+7,7
@@
from django.db.models import Q
from django import http
from django.shortcuts import get_object_or_404
from django.utils.timezone import now
from django import http
from django.shortcuts import get_object_or_404
from django.utils.timezone import now
-from django.utils.translation import
u
gettext 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
from django.views.decorators.csrf import csrf_exempt
from django.views.generic import ListView, CreateView, DeleteView
from services.models import Service