From 09b60f53293a59e9407d06754f5142a05665f686 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jean-S=C3=A9bastien=20Caux?= <git@jscaux.org>
Date: Sun, 8 Oct 2023 15:48:09 +0200
Subject: [PATCH] Small tweaks to debug settings after merges

---
 scipost_django/SciPost_v1/settings/local_JSC.py      | 3 +++
 scipost_django/SciPost_v1/settings/production_do1.py | 1 +
 scipost_django/colleges/forms.py                     | 2 +-
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/scipost_django/SciPost_v1/settings/local_JSC.py b/scipost_django/SciPost_v1/settings/local_JSC.py
index 9b338e8ea..b0eb2f14b 100644
--- a/scipost_django/SciPost_v1/settings/local_JSC.py
+++ b/scipost_django/SciPost_v1/settings/local_JSC.py
@@ -41,6 +41,9 @@ LOGGING["handlers"]["api_file"][
 LOGGING["handlers"]["oauth_file"][
     "filename"
 ] = "/home/jscaux/SciPost/sites/scipost.org/SciPost/local_files/logs/oauth.log"
+LOGGING["handlers"]["submission_fellowship_updates"][
+    "filename"
+] = "/home/jscaux/SciPost/sites/scipost.org/SciPost/local_files/logs/submission_fellowship_updates.log"
 
 CROSSREF_DEPOSIT_EMAIL = "jscaux@scipost.org"
 
diff --git a/scipost_django/SciPost_v1/settings/production_do1.py b/scipost_django/SciPost_v1/settings/production_do1.py
index 14a7feea3..35055a937 100644
--- a/scipost_django/SciPost_v1/settings/production_do1.py
+++ b/scipost_django/SciPost_v1/settings/production_do1.py
@@ -67,6 +67,7 @@ LOGGING["handlers"]["scipost_file_doi"][
 ] = "/home/scipost/SciPost_logs/doi.log"
 LOGGING["handlers"]["api_file"]["filename"] = "/home/scipost/SciPost_logs/api.log"
 LOGGING["handlers"]["oauth_file"]["filename"] = "/home/scipost/SciPost_logs/oauth.log"
+LOGGING["handlers"]["submission_fellowship_updates"]["filename"] = "/home/scipost/SciPost_logs/submission_fellowship_updates.log"
 
 
 # API
diff --git a/scipost_django/colleges/forms.py b/scipost_django/colleges/forms.py
index e076868a1..02c5cc85a 100644
--- a/scipost_django/colleges/forms.py
+++ b/scipost_django/colleges/forms.py
@@ -759,7 +759,7 @@ class FellowshipNominationCommentForm(forms.ModelForm):
 class FellowshipNominationDecisionForm(forms.ModelForm):
     class Meta:
         model = FellowshipNominationDecision
-        fields: list[str] = [
+        fields = [
             "voting_round",
             "outcome",
             "fixed_on",
-- 
GitLab