equal
deleted
inserted
replaced
31 |
31 |
32 DEF_SITE_USER_LIST_ALL_TMPL = 'soc/site/user/list/all.html' |
32 DEF_SITE_USER_LIST_ALL_TMPL = 'soc/site/user/list/all.html' |
33 |
33 |
34 def all(request, template=DEF_SITE_USER_LIST_ALL_TMPL): |
34 def all(request, template=DEF_SITE_USER_LIST_ALL_TMPL): |
35 """Show a list of all Users (limit rows per page). |
35 """Show a list of all Users (limit rows per page). |
|
36 |
|
37 Args: |
|
38 request: the standard Django HTTP request object |
|
39 template: the "sibling" template (or a search list of such templates) |
|
40 from which to construct an alternate template name (or names) |
|
41 |
|
42 Returns: |
|
43 A subclass of django.http.HttpResponse which either contains the form to |
|
44 be filled out, or a redirect to the correct view in the interface. |
36 """ |
45 """ |
37 # create default template context for use with any templates |
46 # create default template context for use with any templates |
38 context = response_helpers.getUniversalContext(request) |
47 context = response_helpers.getUniversalContext(request) |
39 |
48 |
40 alt_response = simple.getAltResponseIfNotDeveloper(request, |
49 alt_response = simple.getAltResponseIfNotDeveloper(request, |