Skip to content

Commit

Permalink
Fixed #2296 -- Documented required trailing slash for MEDIA_URL. Than…
Browse files Browse the repository at this point in the history
…ks, nwp@nz.lemon-computing.com

git-svn-id: http://code.djangoproject.com/svn/django/trunk@4399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
adrianholovaty committed Jan 23, 2007
1 parent 2633035 commit 5b96692
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/settings.txt
Original file line number Diff line number Diff line change
Expand Up @@ -557,6 +557,11 @@ Default: ``''`` (Empty string)
URL that handles the media served from ``MEDIA_ROOT``.
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
------------------

Expand Down

0 comments on commit 5b96692

Please sign in to comment.