Thanks John and Emmanuel! I also realized I did it wrong :) On Jan 11, 6:50 pm, johnP <[email protected]> wrote: > form.cleaned_data is a dictionary, not a function. Therefore you > return the data via dictionary[key] rather than function(variable) > > johnP > > On Jan 10, 12:56 am, Sviatoslav Sviridov <[email protected]> wrote: > > > > > I'm sorry, my fault. The problem was not in session handling. There > > was a line like > > session['key'] = form.cleaned_data('key') > > and the problem is in form.cleaned_data('key') - this statement causes > > 'dict' object not callable error... any ideas why does it happen? > > > On Jan 9, 12:16 pm, Sviatoslav Sviridov <[email protected]> wrote: > > > > Hi, > > > > I'm trying to create new application with app-engine-patch sample app. > > > I need to use session handling. I'm trying to use django's session > > > handling and I get error > > > 'dict' object is not callable > > > when setting some value to session, like request.session['key'] = > > > 'value' > > > > I'm new to appengine and django, so probably I did something wrong. > > > However, it seems app-engine-patch sample app is ready to work. It has > > > session handling enabled, all available functionality works fine. > > > > Thanks.
-- You received this message because you are subscribed to the Google Groups "app-engine-patch" 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/app-engine-patch?hl=en.
