Django admin - jQuery namespace

后端 未结 3 416
故里飘歌
故里飘歌 2021-01-18 01:14

I\'m trying to use certain jQuery plugins in my Django admin site.

Django admin sets the jQuery namespace to django.jQuery (to avoid conflicts)

3条回答
  •  心在旅途
    2021-01-18 02:13

    Someone else had a similar problem and used the deconflict function: http://www.lokkju.com/blog/archives/143

    I'm not sure what version Django uses, but I think the point of using the django namespace is that it can use its own version of jQuery for its internal operations, but still let you use a different version for your own work.

提交回复
热议问题