I will look into this.

On Apr 4, 12:08 pm, Vidul Petrov <[email protected]> wrote:
> With this ugly fix:
>
> session._flash = self.messages.profile_updated # tools.py, added on
> line 957
> if session._flash: response.flash = session._flash # some controller
>
> it works.
>
> At some point session.flash has been overwritten?
>
> On Apr 4, 7:54 pm, Vidul Petrov <[email protected]> wrote:
>
> > I copied the content of this line (956) in the previous post.
>
> > session.flash = self.messages.profile_updated
> > print session.flash # the right string is sent to stdout
>
> > Could it be session.flash problem?
>
> > On Apr 4, 7:39 pm, mdipierro <[email protected]> wrote:
>
> > > Look in tools.py line 956.
>
> > > On Apr 4, 11:06 am, Vidul Petrov <[email protected]> wrote:
>
> > > > The problem is that the following two lines work fine (are copied in
> > > > response.flash),
>
> > > > auth.messages.logged_out = 'You have been logged out successfully'
> > > > auth.messages.logged_in = 'You have been logged in successfully'
>
> > > > but these do not appear anywhere (while trying "user/profile" and
> > > > "user/profile"):
>
> > > > auth.messages.profile_updated = 'Your profile have been udated
> > > > successfully'
> > > > auth.messages.password_changed = 'Your password has been changed
> > > > successfully'
>
> > > > Any ideas?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" 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/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to