Opened 3 years ago

Closed 3 years ago

#18847 closed Cleanup/optimization (fixed)

Form media examples using media.example.com - should this be static.example.com?

Reported by: jamiecurle Owned by: nobody
Component: Documentation Version: master
Severity: Normal Keywords: form, media_url, static_url
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Hello,

I noticed this a few months back but never got round to creating a ticket for it, but I've noticed that it's still present in the docs. The form media examples (https://docs.djangoproject.com/en/dev/topics/forms/media/) all use media.example.com in their urls. Now that the STATIC_URL is used to create the url for each media component before falling back to MEDIA_URL I suggest that the documentation reflects this.

Since this wasn't a straight forward typo, I've opened this ticket and attached a patch.

Attachments (1)

use_static_url_in_formmedia_docs.patch (7.6 KB) - added by jamiecurle 3 years ago.

Download all attachments as: .zip

Change History (3)

Changed 3 years ago by jamiecurle

comment:1 Changed 3 years ago by claudep

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted
  • Type changed from Uncategorized to Cleanup/optimization

comment:2 Changed 3 years ago by Tim Graham <timograham@…>

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

In [e57338f2b96c57d2060885cc23846317f50731c4]:

Fixed #18847 - Updated for media examples to use static.example.com. Thanks Jamie Curle.

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