equal
deleted
inserted
replaced
36 |
36 |
37 |
37 |
38 DEF_SITE_USER_LIST_ALL_TMPL = 'soc/site/user/list/all.html' |
38 DEF_SITE_USER_LIST_ALL_TMPL = 'soc/site/user/list/all.html' |
39 |
39 |
40 |
40 |
41 def all(request, template=DEF_SITE_USER_LIST_ALL_TMPL): |
41 def all(request, page=None, template=DEF_SITE_USER_LIST_ALL_TMPL): |
42 """Show a list of all Users (limit rows per page). |
42 """Show a list of all Users (limit rows per page). |
43 |
43 |
44 Args: |
44 Args: |
45 request: the standard Django HTTP request object |
45 request: the standard Django HTTP request object |
|
46 page: a soc.logic.site.page.Page object which is abstraction that combines |
|
47 a Django view with sidebar menu info |
46 template: the "sibling" template (or a search list of such templates) |
48 template: the "sibling" template (or a search list of such templates) |
47 from which to construct an alternate template name (or names) |
49 from which to construct an alternate template name (or names) |
48 |
50 |
49 Returns: |
51 Returns: |
50 A subclass of django.http.HttpResponse which either contains the form to |
52 A subclass of django.http.HttpResponse which either contains the form to |