[REM] Removed todo, slug feature supported in addons.website.ir_http

bzr revid: fme@openerp.com-20140127132752-par38qbtnf21yzfs
This commit is contained in:
Fabien Meghazi 2014-01-27 14:27:52 +01:00
parent a969be4c38
commit bfeec4808b
1 changed files with 0 additions and 3 deletions

View File

@ -41,9 +41,6 @@ class ModelsConverter(werkzeug.routing.BaseConverter):
self.regex = '([0-9,]+)'
def to_python(self, value):
# TODO:
# - raise routing.ValidationError() if no browse record can be createdm
# - support slug
return request.registry[self.model].browse(request.cr, UID_PLACEHOLDER, [int(i) for i in value.split(',')], context=request.context)
def to_url(self, value):