#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)
Change History (3)
by , 19 years ago
Attachment: | mediaurl.py added |
---|
comment:1 by , 19 years ago
This, or another solution for easing working with static media, really needs to be rolled in.
comment:2 by , 19 years ago
Resolution: | → wontfix |
---|---|
Status: | new → 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.
Here's a meda_url_prefix template tag