'Switch the in_navigation of a page'

@require_POST
def change_innavigation(self, request, page_id):

    page = get_object_or_404(self.model, pk=page_id)
    if self.has_change_permission(request, obj=page):
        page.toggle_in_navigation()
        return HttpResponse(status=204)
    return HttpResponseForbidden(force_text(_("You    do    not    have    permission    to    change    this    page's    in_navigation    status")))
