web/views/basetemplates.py
branch3.5
changeset 2936 f35b64718d02
parent 2935 e06b3eadef31
child 2968 0e3460341023
child 3002 a9d7eaa07475
--- a/web/views/basetemplates.py	Thu Aug 20 14:48:35 2009 +0200
+++ b/web/views/basetemplates.py	Thu Aug 20 17:52:21 2009 +0200
@@ -527,6 +527,4 @@
 
 ## vregistry registration callback ############################################
 def registration_callback(vreg):
-    vreg.register_all(globals().values(), __name__, (PdfMainTemplate,) )
-    if can_do_pdf_conversion():
-        vreg.register(PdfMainTemplate)
+    vreg.register_all(globals().values(), __name__)