Form media examples using media.example.com - should this be static.example.com?
|Reported by:||jamiecurle||Owned by:||nobody|
|Severity:||Normal||Keywords:||form, media_url, static_url|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
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.
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