From 6beba95332ba916371bc809dc4f9d6111b0f358a Mon Sep 17 00:00:00 2001 From: cuom1999 Date: Tue, 14 Jun 2022 01:30:40 +0700 Subject: [PATCH] Add revision register --- judge/models/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/judge/models/__init__.py b/judge/models/__init__.py index dcb7a1e..256156f 100644 --- a/judge/models/__init__.py +++ b/judge/models/__init__.py @@ -53,6 +53,7 @@ from judge.models.volunteer import VolunteerProblemVote revisions.register(Profile, exclude=["points", "last_access", "ip", "rating"]) revisions.register(Problem, follow=["language_limits"]) revisions.register(LanguageLimit) +revisions.register(LanguageTemplate) revisions.register(Contest, follow=["contest_problems"]) revisions.register(ContestProblem) revisions.register(Organization)