From 72ac1c2901474f60a803ebba58c60432c6788ada Mon Sep 17 00:00:00 2001 From: Kraust Date: Mon, 27 May 2024 10:15:16 -0400 Subject: [PATCH 1/2] Fixed Season 32 Variant Start Date (#46) * Updated to include links. * Added Season 32. * Add Metric Thresholds to allow for Manual Review * Fixed bug whith queryset in LadderEntryView * Fixed Season 32 Variant Start Date. --- ladder/fixtures/variants.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ladder/fixtures/variants.json b/ladder/fixtures/variants.json index 852a120..14806d2 100644 --- a/ladder/fixtures/variants.json +++ b/ladder/fixtures/variants.json @@ -58,7 +58,7 @@ "model": "ladder.Variant", "pk": "Season 32 - Unparalleled", "fields": { - "start_date": "2024-05-18T12:00:00+00:00", + "start_date": "2024-05-28T12:00:00+00:00", "end_date": "2099-12-31T23:59:59+00:00", "is_ground_variant": true, "is_space_variant": true, From 1caea2e42ab6d3b7817a9d0da798daee32ff296e Mon Sep 17 00:00:00 2001 From: Kraust Date: Mon, 27 May 2024 11:10:03 -0400 Subject: [PATCH 2/2] Added combat log pk to message (#47) * Updated to include links. * Added Season 32. * Add Metric Thresholds to allow for Manual Review * Fixed bug whith queryset in LadderEntryView * Fixed Season 32 Variant Start Date. * Added combat log pk to message. --- combatlog/models/combatlog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combatlog/models/combatlog.py b/combatlog/models/combatlog.py index 1cb5d0e..2ad1a77 100644 --- a/combatlog/models/combatlog.py +++ b/combatlog/models/combatlog.py @@ -126,7 +126,7 @@ def update_metadata_file(self, file): if ladder.manual_review_threshold: visible = player.get(ladder.metric) < ladder.manual_review_threshold - manual_review = ", but result needs to be manually reviewed." + manual_review = f", but result needs to be manually reviewed. Combat Log ID #{self.pk}" else: visible = True manual_review = ""