commit | 3bde30f1d88b622c7279c5b7e8df852a32c3b52c | [log] [tgz] |
---|---|---|
author | Daniel Hans <daniel.m.hans@gmail.com> | Fri Mar 27 12:00:31 2015 +0100 |
committer | Daniel Hans <daniel.m.hans@gmail.com> | Sat Mar 28 10:05:27 2015 +0000 |
tree | 183f6111d95966b5e6910e8f8bba7e3c4c8cd286 | |
parent | 33a7f3b5b30f5b36949bcc920f84876247f07e44 [diff] |
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
Melange -- Spice of Creation