Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 Django 中可以多次调用从视图到模板的函数吗?
就像是
Load A data into template Call function in template and filter the query with A.id from template Load the filtered data in template Repeat for n times
还是我应该使用 Ajax?
这样做的唯一方法是使用 AJAX。Django 模板不是动态的。