Which CMS allows more advanced plugins, Django CMS or Wagtail?

Handling Ajax request in Django