docs: def type_view(request, semester, pk, profile=None):
      """
      View the details of a particular WorkshiftType.
      """
      any_management = utils.can_manage(request.user, semester, any_pool=True)
      wtype = get_object_or_404(WorkshiftType, pk=pk)
      page_name = wtype.title
      regular_shifts = RegularWorkshift.objects.filter(
          workshift_type=wtype,
          pool__semester=semester,
      )
      return render_to_response("view_type.html", {
          "page_name": page_name,
          "wtype": wtype,
          "regular_shifts": regular_shifts,
          "can_edit": any_management,
      }, context_instance=RequestContext(request))