#30496: Broken order for class Media
------------------------------+--------------------------------------
     Reporter:  Den           |                    Owner:  nobody
         Type:  Bug           |                   Status:  closed
    Component:  Forms         |                  Version:  2.2
     Severity:  Normal        |               Resolution:  invalid
     Keywords:  media widget  |             Triage Stage:  Unreviewed
    Has patch:  0             |      Needs documentation:  0
  Needs tests:  0             |  Patch needs improvement:  0
Easy pickings:  0             |                    UI/UX:  0
------------------------------+--------------------------------------
Changes (by Simon Charette):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is [https://docs.djangoproject.com/en/2.2/releases/2.2/#merging-of-
 form-media-assets a documented change of 2.2].

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

 In summary if you expect `'admin/js/jquery.init.js'` to be included before
 `'admin_ext/init.js'` you must make sure to include it in your `js` before
 the latter

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30496#comment:1>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.4f4607b1cb7e46c6aa5770007eb08ad9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to