Rendering JSON objects using a Django template after an Ajax call

前端 未结 8 1823
南笙
南笙 2020-12-02 03:59

I\'ve been trying to understand what\'s the optimal way to do Ajax in Django. By reading stuff here and there I gathered that the common process is:

  1. formul

8条回答
  •  余生分开走
    2020-12-02 04:40

    You can use jquery.load() or similar, generating the HTML on the server and loading it into the DOM with JavaScript. I think someone has called this AJAH.

提交回复
热议问题