code: def validate(self, data):
          
          if 'start' in data and 'end' in data and data['start'] >= data['end']:
              raise serializers.ValidationError(_('End must occur after start.'))
          return data
docs: Check that the start is before the end.