diff --git a/ereuse_devicehub/did/views.py b/ereuse_devicehub/did/views.py index 8f3ab4cb..676cdfe3 100644 --- a/ereuse_devicehub/did/views.py +++ b/ereuse_devicehub/did/views.py @@ -160,7 +160,7 @@ class DidView(View): url_last = '' if last_dpp: url_last = 'https://{host}/{did}'.format( - did=last_dpp, host=app.config.get('HOST') + did=last_dpp.key, host=app.config.get('HOST') ) data['url_last'] = url_last return result