diff -r 09db6f4619c9 -r 6e84db1b3e44 entities/__init__.py --- a/entities/__init__.py Wed Jul 28 16:31:32 2010 +0200 +++ b/entities/__init__.py Fri Jul 30 10:02:31 2010 +0200 @@ -35,6 +35,11 @@ __regid__ = 'Any' __implements__ = () + @classmethod + def cw_create_url(cls, req, **kwargs): + """ return the url of the entity creation form for this entity type""" + return req.build_url('add/%s' % cls.__regid__, **kwargs) + # meta data api ########################################################### def dc_title(self):