Django Settings
Table of Contents

MEDIA_ROOT

Default: '' (Empty string)

Absolute path to the directory that holds media for this installation. Example: "/home/media/media.lawrence.com/"

MEDIA_URL

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"

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-Share Alike 2.5 License.