Re: Reuse jquery

2015-06-02 Thread guettli
Hi, we had a very strange problem with the ordering of the JS files. the jquery.init.js from django removed the jquery from us which had jquery-ui loaded. The problem is solved. Thomas Güttler Am Dienstag, 2. Juni 2015 17:24:56 UTC+2 schrieb ke1g: > > Are you saying that you can't access it

Re: Reuse jquery

2015-06-02 Thread Bill Freeman
Are you saying that you can't access it as django.jQuery ? On Tue, Jun 2, 2015 at 4:22 AM, guettli wrote: > I guess I am missing something. > > Is there no way to load jquery only once per page? > > Use case: I have two widgets which need jquery. I want to use > these widgets inside the admin in

Reuse jquery

2015-06-02 Thread guettli
I guess I am missing something. Is there no way to load jquery only once per page? Use case: I have two widgets which need jquery. I want to use these widgets inside the admin interface and on custom pages. The admin interface has its own jquery and in jquery.init.js this gets done: var django