Ok I get what you mean by mutate now! Okay I have resolved it thanks! On Sep 13, 10:13 pm, AwaisMuzaffar <[email protected]> wrote: > I see. That clears it. So can you clarify what you mean by mutating > the settings? could you provide an example? Thank you very much for > your reply. > > On Sep 13, 9:51 pm, Michael Merickel <[email protected]> wrote: > > > > > > > > > This is a subtle error that is on the docket to get fixed in the future. The > > issue here is that the settings stored by Pyramid is a *copy* of the dict > > you passed to the Configurator. Thus any modifications you do to the > > original dict are irrelevant. > > > Either modify your setup code to mutate the settings dict before passing it > > to the Configurator, or mutate the copy viaconfig.registry.settings. > > > -- > > > Michael
-- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
