Added support for providing a custom params dict
This has been a long outstanding feature request for tlarsen, luckily
it turned out to be very easy to implement with the dict.merge
utility method. To have custom _rights one should instead to the
required access checks before calling the view method.
--- a/app/soc/views/models/base.py Mon Nov 10 00:40:39 2008 +0000
+++ b/app/soc/views/models/base.py Mon Nov 10 00:41:01 2008 +0000
@@ -148,7 +148,7 @@
old_suffix='edit',
new_suffix='edit')
- return self.edit(request, page=page, **kwargs)
+ return self.edit(request, page=page, params=params, **kwargs)
def edit(self, request, page=None, params=None, **kwargs):
"""Displays the public page for the entity specified by **kwargs