def lostitem_view(request, item_id):
    """View a lostitem.

    id: lostitem id

    """
    lostitem = get_object_or_404(LostItem, id=item_id)
    return render(request, "itemreg/item_view.html", {"item": lostitem, "type": "lost"})
View a lostitem.

    id: lostitem id