On Tue, Jan 13, 2009 at 8:01 PM, Patrick <[email protected]> wrote: > > Hi Everyone > > I am just learning Pylons. I can manage with Mako and working with the > controller but I am having trouble with the model. I can't figure out > what I did wrong, could someone help with this error?| >
Read the error message again. 'module' object has no attribute 'Session'. I'm sure it gave you a line number, where you can see you're trying to get the attribute Session from the model module. However, in your __init__.py, there is no Session attribute being declared. You probably are trying to get at the Session attribute in meta.py. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
