diff options
author | Radomir Dopieralski <hatta-dev@sheep.art.pl> | 2010-12-18 11:34:48 (GMT) |
---|---|---|
committer | Radomir Dopieralski <hatta-dev@sheep.art.pl> | 2010-12-18 11:34:48 (GMT) |
commit | 293eddd7e2131a1ab306539b4838215bce742f34 (patch) | |
tree | 6b2474641cc9b804e6cbd8eaff1e23e70aa49934 /hatta | |
parent | b9ea32cebe0c27b2a95bf9f425d5969cf5ea1dfc (diff) |
get rid of page.template_name
Diffstat (limited to 'hatta')
-rw-r--r-- | hatta/wiki.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hatta/wiki.py b/hatta/wiki.py index 6b4ed08..17fed02 100644 --- a/hatta/wiki.py +++ b/hatta/wiki.py @@ -359,7 +359,7 @@ It can only be edited by the site admin directly on the disk.""")) except error.NotFoundErr: url = request.get_url(title, self.edit, external=True) return werkzeug.routing.redirect(url, code=303) - html = page.template(page.template_name, content=content) + html = page.template("page.html", content=content) dependencies = page.dependencies() etag = '/(%s)' % u','.join(dependencies) return self.response(request, title, html, etag=etag) |