| author | veltr |
| Mon, 03 Dec 2012 16:00:01 +0100 | |
| changeset 96 | c16dbaa98389 |
| parent 95 | f3bdfd236554 |
| child 97 | 213e81430f7a |
--- 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)