10
10
content_type = ContentType.objects.get(pk=content_type_id)
11
11
obj = content_type.get_object_for_this_type(pk=object_id)
13
13
raise http.Http404("Content type %s object %s doesn't exist" % (content_type_id, object_id))
15
15
absurl = obj.get_absolute_url()