#22298: Rename Media to Static
--------------------------------------+------------------------------------
     Reporter:  aaugustin             |                    Owner:  vlal
         Type:  Cleanup/optimization  |                   Status:  assigned
    Component:  Forms                 |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by charettes):

 Replying to [comment:3 russellm]:
 > Just throwing this out there on the stoop to see if the cat licks it up:
 is there any evidence that Media objects are actually being used?
 >
 > I added this feature years ago, but it's not one of my proudest API
 moments - it didn't really solve the problem I was trying to fix.
 >
 > Rather than go through a complicated rename process, should we just be
 deprecating it altogether?

 I think it's pretty common to define a widget with a `Media` class to
 reference static files (a JavaScript file enhancing the rendered input for
 instance).

 It's also quite convenient way for third party apps to provide a fully
 bootstrapped object.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/22298#comment:4>
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 django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.12702654ccee1194c58d34407e170493%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to