Code

#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 20 months ago.

Download all attachments as: .zip

Change History (3)

Changed 20 months ago by jamiecurle

comment:1 Changed 20 months 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 20 months 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.