# HG changeset patch # User veltr # Date 1354546801 -3600 # Node ID c16dbaa98389f91fc0b2bccade9cf5a49618249b # Parent f3bdfd236554a78836c904ca12538c7ff9ade512 Correction diff -r f3bdfd236554 -r c16dbaa98389 src/hashcut/views.py --- a/src/hashcut/views.py Mon Dec 03 14:54:01 2012 +0100 +++ b/src/hashcut/views.py Mon Dec 03 16:00:01 2012 +0100 @@ -124,7 +124,7 @@ if not ctt_id: return HttpResponseNotFound("A content id must be given.") try: - content = Content.objects.get(id=ctt_id) + content = Content.objects.get(iri_id=ctt_id) except Content.DoesNotExist: raise ObjectDoesNotExist("MashupContent : content not found. ctt_id = " + ctt_id) context = self.get_context_dict(request)