Edit notification settings page is available to non-students only.

This page should be available to everybody eventually but for now,
there are no settings for students. If a student tries to access this
page manually, the following error message will be raised:

Exception in request:
Traceback (most recent call last):
  File "/base/data/home/runtimes/python27/python27_lib/versions/third_party/django-1.5/django/core/handlers/base.py", line 113, in get_response
    response = callback(request, *callback_args, **callback_kwargs)
  File "/base/data/home/apps/s~google-melange/2-1-20150323.383096060418041172/soc/views/base.py", line 485, in __call__
    return self._dispatch(data, check, mutator)
  File "/base/data/home/apps/s~google-melange/2-1-20150323.383096060418041172/soc/views/base.py", line 439, in _dispatch
    return self.get(data, check, mutator)
  File "/base/data/home/apps/s~google-melange/2-1-20150323.383096060418041172/soc/views/base.py", line 108, in get
    context = self.context(data, check, mutator)
  File "/base/data/home/apps/s~google-melange/2-1-20150323.383096060418041172/melange/views/notification_settings.py", line 172, in context
    'tabs': tabs.profileTabs(data, tabs.NOTIFICATION_SETTINGS_TAB_ID),
  File "/base/data/home/apps/s~google-melange/2-1-20150323.383096060418041172/summerofcode/templates/tabs.py", line 66, in profileTabs
    selected_tab_id)
ValueError: Selected Tab ID notification_settings_tab does not belong to any tabs.

Change-Id: I4a40c5642305faa63a2d044f0e09b30198e6c2e0
1 file changed