Opened 19 years ago

Closed 18 years ago

Last modified 18 years ago

#346 closed defect (wontfix)

Template tag for the media_root variable

Reported by: slashzero Owned by: Adrian Holovaty
Component: Template system Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There should be a template tag for the media_root variable like there is one for the admin_media_root variable

Attachments (1)

mediaurl.py (423 bytes ) - added by slashzero 19 years ago.
Here's a meda_url_prefix template tag

Download all attachments as: .zip

Change History (3)

by slashzero, 19 years ago

Attachment: mediaurl.py added

Here's a meda_url_prefix template tag

comment:1 by jmadson@…, 19 years ago

This, or another solution for easing working with static media, really needs to be rolled in.

comment:2 by Adrian Holovaty, 18 years ago

Resolution: wontfix
Status: newclosed

This is easy enough to implement on your own, so I'd rather not make this special-case template tag globally available for now.

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