Apologies for the simple question but was is the best practice in
webpy to render an html page which uses a css file?  I don't have
template files (yet). Sample code is below.

Dinesh
...................................................................
staticFolder = 'C:/siteFiles/static/'
render = web.template.render(staticFolder)

homePage = staticFolder + 'index.html'
cssFile = staticFolder + 'main.css'

urls = (
 '/', 'index')

class index:
    def GET (self):
        print render.homePage        # ??? what is the best practice
in webpy to render html file that uses a css file?

web.webapi.internalerror = web.debugerror
if __name__ == '__main__':
    web.run(urls, globals(), web.reloader)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to