Doc: Media class usage
|Reported by:||Jari Pennanen||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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 Changed 7 years ago by
|Patch needs improvement:||unset|
comment:2 Changed 7 years ago by
|Component:||Forms → Documentation|
|Triage Stage:||Unreviewed → Accepted|