title: Changing Django settings variable dynamically based on request for multiple site
body: <p>Please advice whether is it correct method to change the urlconf and templatedir variables of a django settings file dynamically within a custom middleware function based on the site requested. </p>