Opened 10 years ago

Closed 7 years ago

#6282 closed (fixed)

Clarify comment for MEDIA_URL in

Reported by: Florian Apolloner Owned by: nobody
Component: Core (Other) Version: master
Severity: Keywords: settings MEDIA_URL
Cc: apollo13@… Triage Stage: Design decision needed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Is there a reason why the comment for MEDIA_URL suggests

Make sure to use a trailing slash if there is a path component (optional in other cases).

Wouldn't be wise to suggest using a trailing slash all the time? This way the MEDIA_URL would be consistent and we could use {{MEDIA_URL}}path/to/file in templates without caring about a trailing slash.

Change History (2)

comment:1 Changed 10 years ago by Simon Greenhill <dev@…>

Triage Stage: UnreviewedDesign decision needed

comment:2 Changed 7 years ago by Julien Phalip

Resolution: fixed
Status: newclosed

Well, it seems like this has been fixed at some stage. The comment is now pretty clear:

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