code: def aside_for(cls, view_name):
          
          # pylint: disable=protected-access
          def _decorator(func):  # pylint: disable=missing-docstring
              if not hasattr(func, '_aside_for'):
                  func._aside_for = []
  
              func._aside_for.append(view_name)  # pylint: disable=protected-access
              return func
          return _decorator
docs: A decorator to indicate a function is the aside view for the given view_name.
  
          Aside views should have a signature like:
  
              @XBlockAside.aside_for('student_view')
              def student_aside(self, block, context=None):
                  ...
                  return Fragment(...)