doc/book/devweb/views/idownloadable.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Fri, 15 Mar 2019 12:12:23 +0100
branch3.26
changeset 12617 f59439bac0a8
parent 10495 5bd914ebf3ae
permissions -rw-r--r--
Skip tests for ldapsource with python >= 3.7 Until someone works on fixing these, this should make our CI green again. I tried to use setupModule() to check for python version, but pre_setup_database() is apparently called even when a SkipTest exception is raised there. So handle this in that method. (grafted from 4d68d20427dee4b6751a0f1f5511fec2a04f4782)

The 'download' views
====================

.. automodule:: cubicweb.web.views.idownloadable

Components
----------

.. autoclass:: cubicweb.web.views.idownloadable.DownloadBox

Download views
--------------

.. autoclass:: cubicweb.web.views.idownloadable.DownloadView
.. autoclass:: cubicweb.web.views.idownloadable.DownloadLinkView
.. autoclass:: cubicweb.web.views.idownloadable.IDownloadablePrimaryView
.. autoclass:: cubicweb.web.views.idownloadable.IDownloadableOneLineView

Embedded views
--------------

.. autoclass:: cubicweb.web.views.idownloadable.ImageView
.. autoclass:: cubicweb.web.views.idownloadable.EHTMLView