doc/book/devweb/ajax.rst
author Denis Laxalde <denis.laxalde@logilab.fr>
Mon, 06 Feb 2017 11:21:31 +0100
branch3.24
changeset 11948 73ed9c204de9
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
[migration] Move pyramid-related migration after "entities" table modifications Otherwise, we getting into `add_entity_type('CWSession')` we try to insert a CWEType without any 'asource' column (per 3.24's schema) whereas the backend still wants it. Closes #17054035.

.. _ajax:

Ajax
----

CubicWeb provides a few helpers to facilitate *javascript <-> python* communications.

You can, for instance, register some python functions that will become
callable from javascript through ajax calls. All the ajax URLs are handled
by the :class:`cubicweb.web.views.ajaxcontroller.AjaxController` controller.

.. automodule:: cubicweb.web.views.ajaxcontroller