diff pylons_app/lib/app_globals.py @ 31:2963f2894a7a

Tempalting change, bugfix for serving raw files, and diffs. Now raw files are not parsed thruough mako, and diffs are mako safe (not parsed also)
author Marcin Kuzminski <marcin@python-blog.com>
date Thu, 04 Mar 2010 23:13:12 +0100
parents bbaab7501c1a
children 2e1247e62c5b
line wrap: on
line diff
--- a/pylons_app/lib/app_globals.py	Thu Mar 04 23:08:57 2010 +0100
+++ b/pylons_app/lib/app_globals.py	Thu Mar 04 23:13:12 2010 +0100
@@ -38,7 +38,16 @@
             baseui.setconfig('web', k, v)
         #magic trick to make our custom template dir working
         templater.path.append(cfg.get('web', 'templates', None))
-        hgwebapp = hgwebdir(paths, baseui = baseui)
+
+        #baseui.setconfig('web', 'description', '')
+        #baseui.setconfig('web', 'name', '')
+        #baseui.setconfig('web', 'contact', '')
+        #baseui.setconfig('web', 'allow_archive', '')
+        #baseui.setconfig('web', 'style', 'monoblue_plain')
+        #baseui.setconfig('web', 'baseurl', '')
+        #baseui.setconfig('web', 'staticurl', '')
+        
+        hgwebapp = hgwebdir(paths, baseui=baseui)
         return hgwebapp