web/views/idownloadable.py
changeset 8190 2a3c1b787688
parent 7879 9aae456abab5
child 8612 3bb96935a6b9
equal deleted inserted replaced
8189:2ee0ef069fa7 8190:2a3c1b787688
     1 # copyright 2003-2011 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     1 # copyright 2003-2012 LOGILAB S.A. (Paris, FRANCE), all rights reserved.
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     2 # contact http://www.logilab.fr/ -- mailto:contact@logilab.fr
     3 #
     3 #
     4 # This file is part of CubicWeb.
     4 # This file is part of CubicWeb.
     5 #
     5 #
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
     6 # CubicWeb is free software: you can redistribute it and/or modify it under the
    25 from logilab.mtconverter import BINARY_ENCODINGS, TransformError, xml_escape
    25 from logilab.mtconverter import BINARY_ENCODINGS, TransformError, xml_escape
    26 from logilab.common.deprecation import class_renamed, deprecated
    26 from logilab.common.deprecation import class_renamed, deprecated
    27 
    27 
    28 from cubicweb import tags
    28 from cubicweb import tags
    29 from cubicweb.view import EntityView
    29 from cubicweb.view import EntityView
    30 from cubicweb.selectors import (one_line_rset, is_instance, match_context_prop,
    30 from cubicweb.predicates import (one_line_rset, is_instance, match_context_prop,
    31                                 adaptable, has_mimetype)
    31                                  adaptable, has_mimetype)
    32 from cubicweb.mttransforms import ENGINE
    32 from cubicweb.mttransforms import ENGINE
    33 from cubicweb.web import component, httpcache
    33 from cubicweb.web import component, httpcache
    34 from cubicweb.web.views import primary, baseviews
    34 from cubicweb.web.views import primary, baseviews
    35 
    35 
    36 
    36