I have 3 questions

A)

what is the purpose of this line in controllers.py after completing the
tutorial

page = Page.byPagename(pagename)


B) when using page to display the list of pages in the database
this line is used to define pages

pages = [page.pagename for page in
Page.select(orderBy=Page.q.pagename)]

I want to understand how to use this

C)

class UploadedFile(SQLObject):
        filename = StringCol(alternateID=True)
        abspath = StringCol()
        size = IntCol()

I want to display the abspath variable in this class from the database
on a page...ne ideas?


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" 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/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to