On Jul 27, 2007, at 12:25 PM, Dominik Neumann wrote:
> > Hello, > > i'm trying to get the Toscawidgets example > running with pylons 0.9.6rc1. > > The only part not working for me is in middleware: > > def extra_vars(): > return dict( > py_c=pylons.c._current_obj(), > g=pylons.g._current_obj(), > ... > > where the pylons-object doesn't exist: > > exceptions.NameError: global name 'pylons' is not defined > > any ideas? do i miss something? import pylons :) Alberto --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylons-discuss@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---