~divmod-dev/divmod.org/trunk

« back to all changes in this revision

Viewing changes to Nevow/examples/hello/hellohtml.py

  • Committer: Jean-Paul Calderone
  • Date: 2014-06-29 20:33:04 UTC
  • mfrom: (2749.1.1 remove-epsilon-1325289)
  • Revision ID: exarkun@twistedmatrix.com-20140629203304-gdkmbwl1suei4m97
mergeĀ lp:~exarkun/divmod.org/remove-epsilon-1325289

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
from twisted.python import util
2
 
 
3
 
from nevow import loaders
4
 
from nevow import rend
5
 
 
6
 
 
7
 
class Page(rend.Page):
8
 
    """Example of using an HTML template to render a page.
9
 
    """
10
 
    addSlash = True
11
 
    docFactory = loaders.xmlfile(util.sibpath(__file__, 'hellohtml.html'))
12