Opened 9 years ago

Closed 5 years ago

#6282 closed (fixed)

Clarify comment for MEDIA_URL in

Reported by: apollo13 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 9 years ago by Simon Greenhill <dev@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Design decision needed

comment:2 Changed 5 years ago by julien

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

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