equal
deleted
inserted
replaced
99 def lookup(request, page_name=None, template=DEF_SITE_USER_PROFILE_LOOKUP_TMPL): |
99 def lookup(request, page_name=None, template=DEF_SITE_USER_PROFILE_LOOKUP_TMPL): |
100 """View for a Developer to look up a User Model entity. |
100 """View for a Developer to look up a User Model entity. |
101 |
101 |
102 Args: |
102 Args: |
103 request: the standard django request object |
103 request: the standard django request object |
104 page: a soc.logic.site.page.Page object which is abstraction that combines |
104 page_name: the page name displayed in templates as page and header title |
105 a Django view with sidebar menu info |
|
106 template: the "sibling" template (or a search list of such templates) |
105 template: the "sibling" template (or a search list of such templates) |
107 from which to construct the public.html template name (or names) |
106 from which to construct the public.html template name (or names) |
108 |
107 |
109 Returns: |
108 Returns: |
110 A subclass of django.http.HttpResponse which either contains the form to |
109 A subclass of django.http.HttpResponse which either contains the form to |
266 template=DEF_SITE_USER_PROFILE_EDIT_TMPL): |
265 template=DEF_SITE_USER_PROFILE_EDIT_TMPL): |
267 """View for a Developer to modify the properties of a User Model entity. |
266 """View for a Developer to modify the properties of a User Model entity. |
268 |
267 |
269 Args: |
268 Args: |
270 request: the standard django request object |
269 request: the standard django request object |
271 page: a soc.logic.site.page.Page object which is abstraction that combines |
270 page_name: the page name displayed in templates as page and header title |
272 a Django view with sidebar menu info |
|
273 link_name: the User's site-unique "link_name" extracted from the URL |
271 link_name: the User's site-unique "link_name" extracted from the URL |
274 template: the "sibling" template (or a search list of such templates) |
272 template: the "sibling" template (or a search list of such templates) |
275 from which to construct the public.html template name (or names) |
273 from which to construct the public.html template name (or names) |
276 |
274 |
277 Returns: |
275 Returns: |
421 def create(request, page_name=None, template=DEF_SITE_CREATE_USER_PROFILE_TMPL): |
419 def create(request, page_name=None, template=DEF_SITE_CREATE_USER_PROFILE_TMPL): |
422 """View for a Developer to create a new User Model entity. |
420 """View for a Developer to create a new User Model entity. |
423 |
421 |
424 Args: |
422 Args: |
425 request: the standard django request object |
423 request: the standard django request object |
426 page: a soc.logic.site.page.Page object which is abstraction that combines |
424 page_name: the page name displayed in templates as page and header title |
427 a Django view with sidebar menu info |
|
428 template: the "sibling" template (or a search list of such templates) |
425 template: the "sibling" template (or a search list of such templates) |
429 from which to construct the public.html template name (or names) |
426 from which to construct the public.html template name (or names) |
430 |
427 |
431 Returns: |
428 Returns: |
432 A subclass of django.http.HttpResponse which either contains the form to |
429 A subclass of django.http.HttpResponse which either contains the form to |