Hello Thorsten, this is a change document in the 2.2 release notes[0].

There's even a resolution example for a django.jQuery dependency like you 
have

> For example, widgets depending on django.jQuery must specify
> js=['admin/js/jquery.init.js', ...] when declaring form media assets. [1]

Cheers,
Simon

[0] 
https://docs.djangoproject.com/en/2.2/releases/2.2/#merging-of-form-media-assets
[1] 
https://docs.djangoproject.com/en/2.2/topics/forms/media/#assets-as-a-static-definition

Le mardi 9 avril 2019 11:02:35 UTC-4, Thorsten Sanders a écrit :
>
> Hello,
>
> I insert a custom javascript inside the admin and do use the 
> "django.jquery" this worked fine until updating to Django 2.2.
>
> With 2.2 the order in which the javascripts are loaded changed and the 
> jquery.init.js is now loaded after my custom javascript, is that considered 
> a bug or a change?
>
> Regards,
> Thorsten
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/018ab123-2b22-4425-bb6d-efeb1c4f12cf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to