AJAX form in DjangoCMS

I am trying to create a simple website using DjangoCMS. Now I want to add a contact form using jQuery AJAX.

I have some ideas:

  • Use a ready-to-use plugin, for example. Aldryn Forms , and just write AJAX to publish my form
  • Create your own application as a custom plugin
  • Just create [form_name] .py, link the file in urls.py and click my form on this URL

What is possible and, if more than one, which is the most correct?

+4
source share

Source: https://habr.com/ru/post/1671194/


All Articles