Mercurial > hg > SimpleWiki
diff simplewiki/dispatcher.py @ 3:56ab6b90cd1a
[mq]: post
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Tue, 07 Sep 2010 21:29:57 -0700 |
parents | 2464e2051b78 |
children | dd1c4916cbcd |
line wrap: on
line diff
--- a/simplewiki/dispatcher.py Tue Sep 07 21:00:46 2010 -0700 +++ b/simplewiki/dispatcher.py Tue Sep 07 21:29:57 2010 -0700 @@ -5,7 +5,7 @@ import os -from handlers import GenshiRenderer, Index +from handlers import GenshiRenderer, Index, Post from genshi.template import TemplateLoader from paste.fileapp import FileApp @@ -30,7 +30,7 @@ assert self.directory and os.path.exists(self.directory), "Must specify an existing directory" # request handlers - self.handlers = [ GenshiRenderer, Index ] + self.handlers = [ Post, GenshiRenderer, Index ] # template loader self.template_dirs = self.template_dirs.split()