Adding middlewares to custom_settings