diff -r e6ab5b0c2fda -r cd9bf163473c app/soc/views/models/host.py --- a/app/soc/views/models/host.py Sun Dec 14 00:51:03 2008 +0000 +++ b/app/soc/views/models/host.py Mon Dec 15 00:21:26 2008 +0000 @@ -37,6 +37,8 @@ import soc.views.helper import soc.views.models.sponsor +# TODO(pawel.solyga): Rename all list methods and functions to something else +# and remove this tolist assignment tolist = list @@ -117,9 +119,9 @@ super(View, self).__init__(params=params) - def list(self, request, access_type, - page_name=None, params=None, filter=None): - """See base.View.list + def list(self, request, access_type, page_name=None, + params=None, filter=None): + """See base.View.list. Passes a filter to base.View.list so that only hosts from a sponsor that this user is host for are listed.