mirror of https://github.com/django/django.git
Fixed #2296 -- Documented required trailing slash for MEDIA_URL. Thanks, nwp@nz.lemon-computing.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
2633035261
commit
5b96692894
|
@ -557,6 +557,11 @@ Default: ``''`` (Empty string)
|
||||||
URL that handles the media served from ``MEDIA_ROOT``.
|
URL that handles the media served from ``MEDIA_ROOT``.
|
||||||
Example: ``"http://media.lawrence.com"``
|
Example: ``"http://media.lawrence.com"``
|
||||||
|
|
||||||
|
Note that this should have a trailing slash if it has a path component.
|
||||||
|
|
||||||
|
Good: ``"http://www.example.com/static/"``
|
||||||
|
Bad: ``"http://www.example.com/static"``
|
||||||
|
|
||||||
MIDDLEWARE_CLASSES
|
MIDDLEWARE_CLASSES
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue