[damned-lies/develop: 1/2] Upgrade Django version to 4.1
- From: Guillaume Bernard <gbernard src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [damned-lies/develop: 1/2] Upgrade Django version to 4.1
- Date: Thu, 8 Sep 2022 10:01:12 +0000 (UTC)
commit c1f46ee391c4ef51e783dccc4c305fc7526497d6
Author: Claude Paroz <claude 2xlibre net>
Date: Wed Sep 7 21:40:57 2022 +0200
Upgrade Django version to 4.1
damnedlies/settings.py | 1 -
requirements.txt | 2 +-
vertimus/views.py | 2 +-
3 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/damnedlies/settings.py b/damnedlies/settings.py
index a51f30e3..c69ce388 100644
--- a/damnedlies/settings.py
+++ b/damnedlies/settings.py
@@ -55,7 +55,6 @@ LANGUAGES = global_settings.LANGUAGES + [
]
USE_I18N = True
-USE_L10N = True
LOCALE_PATHS = [BASE_DIR / 'locale']
USE_TZ = True
diff --git a/requirements.txt b/requirements.txt
index 4ff2de70..f2191aca 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-django~=4.0
+django~=4.1
markdown~=3.2.2 # Team presentation markup rendering
translate-toolkit>=2.2.0
diff --git a/vertimus/views.py b/vertimus/views.py
index b39dfaa8..7fd91a0b 100644
--- a/vertimus/views.py
+++ b/vertimus/views.py
@@ -80,7 +80,7 @@ def vertimus(request, branch, domain, language, stats=None, level="0"):
# Get the sequence of the grandparent to know if exists a previous action
# history
- sequence_grandparent = state.get_action_sequence_from_level(level + 1)
+ sequence_grandparent = state.get_action_sequence_from_level(level + 1) if state.pk else None
grandparent_level = level + 1 if sequence_grandparent else None
action_form = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]