doc/book/devweb/ajax.rst
author julien tayon <julien.tayon@logilab.fr>
Tue, 21 May 2019 10:50:08 +0200
branch3.26
changeset 12625 ba5231e1aa45
parent 10491 c67bcee93248
child 12856 a82e56d4814a
permissions -rw-r--r--
[dataimport] Fix case when extid is text in use_extid_as_cwuri() Extid can be bytes or text. This avoid AttributeError: 'str' object has no attribute 'decode'

.. _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