Opened 14 years ago

Closed 10 years ago

#12857 closed New feature (wontfix)

Doc: Media class usage

Reported by: Jari Pennanen Owned by: nobody
Component: Documentation Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I've noticed that one can create own Media objects outside Widgets/Forms, using directly the django.forms.widgets.Media but documentation mentions nothing of using this.

Media objects are highly usable outside Forms/Widgets also, since one can combine all the media and the intersecting css/js is not duplicated.

It is not a big deal, but still it would be more logical to explain the direct usage of Media class in here http://docs.djangoproject.com/en/dev/topics/forms/media/#media-objects

Change History (7)

comment:1 by Jari Pennanen, 14 years ago

Also I've noticed that using the django.forms.widgets.Media is also pain, since one cannot give easily the items in __init__... Which is sad, and should probably be fixed.

comment:2 by Russell Keith-Magee, 14 years ago

Component: FormsDocumentation
Triage Stage: UnreviewedAccepted

comment:3 by Luke Plant, 13 years ago

Type: New feature

comment:4 by Luke Plant, 13 years ago

Severity: Normal

comment:5 by Aymeric Augustin, 12 years ago

UI/UX: unset

Change UI/UX from NULL to False.

comment:6 by Aymeric Augustin, 12 years ago

Easy pickings: unset

Change Easy pickings from NULL to False.

comment:7 by Tim Graham, 10 years ago

Resolution: wontfix
Status: newclosed

Media class is likely to be deprecated, or at least renamed (#22298).

Note: See TracTickets for help on using tickets.
Back to Top