  The notion of one-sided localization in the homotopy invariant context is
developed for dg algebras and dg categories. Applications include a simple
construction of derived localization of dg algebras and dg categories, and a
refinement of Drinfeld's quotient of pretriangulated dg categories.
