开发者

Django Template Inheritance : How can I stop base template from reloading?

I have a base template in Django and several html files that are chil开发者_如何学Pythondren of the base.

Is there a way I can display different HTML children without refreshing the base?

I am basically trying to prevent the base HTML reload and blink every time a new page is displayed.


You cant just "refresh the children", because django processing is server-side, not client-side.

You can make that "effect" using Javascript with AJAX (recommend JQuery).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜