Skip to content

Commit

Permalink
register new schedule validator
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Muller committed Oct 30, 2023
1 parent 380e171 commit 15b3b45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions wafer/schedule/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ def register_schedule_item_validator(function, err_type, msg):
register_schedule_item_validator(
find_invalid_venues, 'venues',
_('Invalid venues found in schedule.'))
register_schedule_item_validator(
find_speaker_clashes, 'speaker_clashes',
_('Common speaker in simultaneous schedule items'))


# Utility functions for checking the schedule state
Expand Down

0 comments on commit 15b3b45

Please sign in to comment.