if "view" in request.GET and request.GET["view"] == "month":
        context["view"] = "month"
    else:
        context["view"] = "week"