How to set up Django website with jQuery

后端 未结 4 867
遇见更好的自我
遇见更好的自我 2021-01-30 02:25

I don\'t know why, but I couldn\'t figure out how to activate jQuery on my website. All sites doing tutorials \'Starting jQuery on Django\' started with JQuery already working o

4条回答
  •  一生所求
    2021-01-30 03:02

    You may also use the python package django-static-jquery. For the moment, it comes with the more recent jquery libraries.

    pip install django-static-jquery=='version'. Package & installation info here https://pypi.python.org/pypi/django-static-jquery/

    Looks like the other package django-jquery not been updated in a while.

提交回复
热议问题