web/views/basetemplates.py
branch3.5
changeset 2936 f35b64718d02
parent 2935 e06b3eadef31
child 2968 0e3460341023
child 3002 a9d7eaa07475
equal deleted inserted replaced
2935:e06b3eadef31 2936:f35b64718d02
   525     return req.url()
   525     return req.url()
   526 
   526 
   527 
   527 
   528 ## vregistry registration callback ############################################
   528 ## vregistry registration callback ############################################
   529 def registration_callback(vreg):
   529 def registration_callback(vreg):
   530     vreg.register_all(globals().values(), __name__, (PdfMainTemplate,) )
   530     vreg.register_all(globals().values(), __name__)
   531     if can_do_pdf_conversion():
       
   532         vreg.register(PdfMainTemplate)