(request: WSGIRequest)
return HttpResponseRedirect(reverse("musiq"))
This endpoint is visited after every login.
    Redirect the admin to the settings and everybody else to the musiq page.
This endpoint is visited after every login.
    Redirect the admin to the settings and everybody else to the musiq page.
This endpoint is visited after every login . Redirect the admin to the settings and everybody else to the musiq page .
def logged_in(request: WSGIRequest) -> HttpResponse:
    """This endpoint is visited after every login.
    Redirect the admin to the settings and everybody else to the musiq page."""
    if user_manager.is_admin(request.user):
        return HttpResponseRedirect(reverse("settings"))
    return HttpResponseRedirect(reverse("musiq"))
def logged_in ( request : WSGIRequest ) -> HttpResponse : if user_manager . is_admin ( request . user ) : return HttpResponseRedirect ( reverse ( "settings" ) ) return HttpResponseRedirect ( reverse ( "musiq" ) )