Add revision register

This commit is contained in:
cuom1999 2022-06-14 01:30:40 +07:00
parent a1fd7caee4
commit 6beba95332

View file

@ -53,6 +53,7 @@ from judge.models.volunteer import VolunteerProblemVote
revisions.register(Profile, exclude=["points", "last_access", "ip", "rating"]) revisions.register(Profile, exclude=["points", "last_access", "ip", "rating"])
revisions.register(Problem, follow=["language_limits"]) revisions.register(Problem, follow=["language_limits"])
revisions.register(LanguageLimit) revisions.register(LanguageLimit)
revisions.register(LanguageTemplate)
revisions.register(Contest, follow=["contest_problems"]) revisions.register(Contest, follow=["contest_problems"])
revisions.register(ContestProblem) revisions.register(ContestProblem)
revisions.register(Organization) revisions.register(Organization)