web/views/editforms.py
branchtls-sprint
changeset 1435 6cd6172718bb
parent 1423 39320a58faac
child 1453 a9841184be7c
--- a/web/views/editforms.py	Wed Apr 22 19:42:17 2009 +0200
+++ b/web/views/editforms.py	Wed Apr 22 19:42:44 2009 +0200
@@ -482,7 +482,7 @@
         """creation view for an entity"""
         etype = kwargs.pop('etype', self.req.form.get('etype'))
         try:
-            entity = self.vreg.etype_class(etype)(self.req, None, None)
+            entity = self.vreg.etype_class(etype)(self.req)
         except:
             self.w(self.req._('no such entity type %s') % etype)
         else: