Skip to content
Snippets Groups Projects
Commit 7f261e1a authored by magicfelix's avatar magicfelix
Browse files

Adjust to RegistryObject classvar name change

parent 90d31ae3
No related branches found
No related tags found
1 merge request!482Resolve "Adjust to RegistryObject classvar name change"
Pipeline #196823 failed
...@@ -40,8 +40,8 @@ class NoParticipationStatusesPersonalNotesInCancelledLessonsDataCheck(DataCheck) ...@@ -40,8 +40,8 @@ class NoParticipationStatusesPersonalNotesInCancelledLessonsDataCheck(DataCheck)
) )
problem_name = _("The participation status or personal note is related to a cancelled lesson.") problem_name = _("The participation status or personal note is related to a cancelled lesson.")
solve_options = { solve_options = {
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption, DeleteRelatedObjectSolveOption._class_name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption, IgnoreSolveOption._class_name: IgnoreSolveOption,
} }
@classmethod @classmethod
...@@ -69,9 +69,9 @@ class NoGroupsOfPersonsSetInParticipationStatusesDataCheck(DataCheck): ...@@ -69,9 +69,9 @@ class NoGroupsOfPersonsSetInParticipationStatusesDataCheck(DataCheck):
verbose_name = _("Ensure that 'groups_of_person' is set for every participation status") verbose_name = _("Ensure that 'groups_of_person' is set for every participation status")
problem_name = _("The participation status has no group in 'groups_of_person'.") problem_name = _("The participation status has no group in 'groups_of_person'.")
solve_options = { solve_options = {
SetGroupsWithCurrentGroupsSolveOption.name: SetGroupsWithCurrentGroupsSolveOption, SetGroupsWithCurrentGroupsSolveOption._class_name: SetGroupsWithCurrentGroupsSolveOption,
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption, DeleteRelatedObjectSolveOption._class_name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption, IgnoreSolveOption._class_name: IgnoreSolveOption,
} }
@classmethod @classmethod
...@@ -92,8 +92,8 @@ class DocumentationOnHolidaysDataCheck(DataCheck): ...@@ -92,8 +92,8 @@ class DocumentationOnHolidaysDataCheck(DataCheck):
verbose_name = _("Ensure that there are no documentations on holidays") verbose_name = _("Ensure that there are no documentations on holidays")
problem_name = _("The documentation is on holidays.") problem_name = _("The documentation is on holidays.")
solve_options = { solve_options = {
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption, DeleteRelatedObjectSolveOption._class_name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption, IgnoreSolveOption._class_name: IgnoreSolveOption,
} }
@classmethod @classmethod
...@@ -126,8 +126,8 @@ class ParticipationStatusPersonalNoteOnHolidaysDataCheck(DataCheck): ...@@ -126,8 +126,8 @@ class ParticipationStatusPersonalNoteOnHolidaysDataCheck(DataCheck):
) )
problem_name = _("The participation status or personal note is on holidays.") problem_name = _("The participation status or personal note is on holidays.")
solve_options = { solve_options = {
DeleteRelatedObjectSolveOption.name: DeleteRelatedObjectSolveOption, DeleteRelatedObjectSolveOption._class_name: DeleteRelatedObjectSolveOption,
IgnoreSolveOption.name: IgnoreSolveOption, IgnoreSolveOption._class_name: IgnoreSolveOption,
} }
@classmethod @classmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment