[albatross-users] Re: Renaming application and execution context classes

Dave Cole djc at object-craft.com.au
Tue Jul 1 20:14:17 EST 2003


> http://www.object-craft.com.au/projects/albatross/albatross/app-popview3.html
> "Adding Server-Side Session Support to Popview"
> 
> "The new application prologue looks like this:
> 
> #!/usr/bin/python
> from albatross import SimpleSessionApp, SessionAppContext
> "
> 
> and then:
> 
> "    def create_context(self):
>         return AppContext(self)"
> 
> but that should be:
> 
> "    def create_context(self):
>         return SessionAppContext(self)"

Once you look at the code in the samples/popview3 directory it is a
bit clearer what is going on.  It certainly looks like the AppContext
class should be included in the documentation though :-)

I have added the AppContext to the documentation.

Thanks for pointing out the problem.

- Dave

-- 
http://www.object-craft.com.au




More information about the Albatross-users mailing list