app/soc/views/models/base.py
changeset 438 af082c92ddda
parent 435 829fe8302a8b
child 439 0658c3c9a9dc
--- a/app/soc/views/models/base.py	Mon Nov 03 18:20:53 2008 +0000
+++ b/app/soc/views/models/base.py	Mon Nov 03 19:04:04 2008 +0000
@@ -292,7 +292,7 @@
     entity = None
 
     try:
-      key_fields = self._logic.getKeyFieldsFromKwargs(kwargs)
+      key_fields = self._logic.getKeyFieldsFromDict(kwargs)
       entity = self._logic.getIfFields(key_fields)
     except soc.logic.out_of_band.ErrorResponse, error:
       template = self._params['edit_template']