Re: Invoking views

2011-03-15 Thread Daniel Holth
Pyramid will normally only call one view per request. Is there a reason you cannot simply call view2 from view1? def view1(request): x = view2(request) ... -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To post to this group, send em

Re: Invoking views

2011-03-14 Thread AwaisMuzaffar
Sorry hit enter by mistake without finishing the message. config.add_view('myproject.views.view2', route_name='page') does not invoke view2. I have no idea what I can do to resolve this. I don't even know whether what I am doing is actually possible. Any insight will be greatly appreciated.

Re: Invoking views

2011-03-14 Thread AwaisMuzaffar
Just to add: config.add_view('myproject.views.view2', route_name='page') results in a conflict error. (I've done some reading about this in the documentation) config.add_view('myproject.views.view2', route_name='page') On Mar 14, 10:05 pm, AwaisMuzaffar wrote: > I have the following vie