# HG changeset patch # User Todd Larsen # Date 1222837841 0 # Node ID 42733f531ebf70e01dec2e2829c4a059c0ddc0e4 # Parent 7741d6b7ce7cafa64536fc3c157c7adb97dc2c60 Add missing all() __doc__ string comments: "Args:" and "Returns:" sections. diff -r 7741d6b7ce7c -r 42733f531ebf app/soc/views/site/user/list.py --- a/app/soc/views/site/user/list.py Wed Oct 01 05:02:42 2008 +0000 +++ b/app/soc/views/site/user/list.py Wed Oct 01 05:10:41 2008 +0000 @@ -33,6 +33,15 @@ def all(request, template=DEF_SITE_USER_LIST_ALL_TMPL): """Show a list of all Users (limit rows per page). + + Args: + request: the standard Django HTTP request object + template: the "sibling" template (or a search list of such templates) + from which to construct an alternate template name (or names) + + Returns: + A subclass of django.http.HttpResponse which either contains the form to + be filled out, or a redirect to the correct view in the interface. """ # create default template context for use with any templates context = response_helpers.getUniversalContext(request)