misleading comment about trailing slash on MEDIA_URL in settings.py
|Reported by:||mw@…||Owned by:||adrian|
|Component:||Core (Management commands)||Version:||master|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Currently it says:
# URL that handles the media served from MEDIA_ROOT. # Example: "http://media.lawrence.com"
Which is an error, since the MEDIA_URL has to end with a "/" as far as I know.
So I add this little patch that corrects this comment.
It's no code change, but a real pitfall for new users coming to django.
Change History (3)
Changed 7 years ago by mw@…
comment:1 Changed 7 years ago by Simon G. <dev@…>
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Summary changed from misleading comment in conf/project_template/settings.py to misleading comment about trailing slash on MEDIA_URL in settings.py
- Triage Stage changed from Unreviewed to Ready for checkin