equal
deleted
inserted
replaced
44 |
44 |
45 try: |
45 try: |
46 from cubicweb.ext.tal import compile_template |
46 from cubicweb.ext.tal import compile_template |
47 except ImportError: |
47 except ImportError: |
48 HAS_TAL = False |
48 HAS_TAL = False |
49 from cubicweb.schema import FormatConstraint |
49 from cubicweb import schema |
50 FormatConstraint.need_perm_formats.remove('text/cubicweb-page-template') |
50 schema.NEED_PERM_FORMATS.remove('text/cubicweb-page-template') |
51 |
51 |
52 else: |
52 else: |
53 HAS_TAL = True |
53 HAS_TAL = True |
54 |
54 |
55 class ept_to_html(Transform): |
55 class ept_to_html(Transform): |