diff --git a/flowchart/tasks.py b/flowchart/tasks.py index 81a42a6..0a72be4 100644 --- a/flowchart/tasks.py +++ b/flowchart/tasks.py @@ -93,7 +93,9 @@ def evaluate_flowchart_task(submission_id): "submission_id": str(submission.id), "score": score_data['score'], "grade": score_data['grade'], - "feedback": score_data['feedback'] + "feedback": score_data['feedback'], + "suggestions": score_data['suggestions'], + "criteria_details": score_data['criteria_details'], } ) diff --git a/oj/dev_settings.py b/oj/dev_settings.py index db70d4e..8db2178 100644 --- a/oj/dev_settings.py +++ b/oj/dev_settings.py @@ -7,7 +7,7 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", "HOST": "150.158.29.156", - "PORT": "5432", + "PORT": "5445", "NAME": "onlinejudge", "USER": "onlinejudge", "PASSWORD": "onlinejudge", @@ -16,7 +16,7 @@ DATABASES = { REDIS_CONF = { "host": "150.158.29.156", - "port": 6379, + "port": 5446, }