From f982fec1e3dab8bf9a0f0422e79355869b7516b5 Mon Sep 17 00:00:00 2001 From: Yam Mesicka Date: Wed, 28 Feb 2024 01:11:52 +0200 Subject: [PATCH] fix: Change email BREAKING CHANGES: Autochecker user is now `lms-checker@python*ic*.guru`, soon to be configured using the configuration file. Should also change it accordingly in the database. --- lms/lmsdb/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/lmsdb/models.py b/lms/lmsdb/models.py index 45851c01..138d0476 100644 --- a/lms/lmsdb/models.py +++ b/lms/lmsdb/models.py @@ -193,8 +193,8 @@ def has_course(self, course_id: int) -> bool: @classmethod def get_system_user(cls) -> 'User': instance, _ = cls.get_or_create(**{ - cls.mail_address.name: 'linter-checks@python.guru', - User.username.name: 'linter-checks@python.guru', + cls.mail_address.name: 'linter-checks@pythonic.guru', + User.username.name: 'linter-checks@pythonic.guru', }, defaults={ User.fullname.name: 'Checker guru', User.role.name: Role.get_staff_role(),