Opened 10 years ago

Closed 10 years ago

Last modified 9 years ago

#346 closed defect (wontfix)

Template tag for the media_root variable

Reported by: slashzero Owned by: adrian
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: UI/UX:

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 10 years ago.
Here's a meda_url_prefix template tag

Download all attachments as: .zip

Change History (3)

Changed 10 years ago by slashzero

Here's a meda_url_prefix template tag

comment:1 Changed 10 years ago by jmadson@…

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

comment:2 Changed 10 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

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