diff options
| author | Carl Meyer <carl@oddbird.net> | 2011-02-01 14:28:07 +0000 |
|---|---|---|
| committer | Carl Meyer <carl@oddbird.net> | 2011-02-01 14:28:07 +0000 |
| commit | 76fb2bb0e246884ce6dc1a48d0db55e0673de8e0 (patch) | |
| tree | a1d7a8296e7b0462a7b009151454995678b439be /django/conf/project_template | |
| parent | 9a82eb6ff109e95dbb6cf26ee3d2ce1c548714bb (diff) | |
Fixed some documentation and default-settings.py comments that were misleading about the purpose of STATIC_ROOT, and removed an unused import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/conf/project_template')
| -rw-r--r-- | django/conf/project_template/settings.py | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/django/conf/project_template/settings.py b/django/conf/project_template/settings.py index 4f9fdcb38f..873cec1af4 100644 --- a/django/conf/project_template/settings.py +++ b/django/conf/project_template/settings.py @@ -52,21 +52,27 @@ MEDIA_ROOT = '' # Examples: "http://media.lawrence.com/media/", "http://example.com/media/" MEDIA_URL = '' -# Absolute path to the directory that holds static files. +# Absolute path to the directory static files should be collected to. +# Don't put anything in this directory yourself; store your static files +# in apps' "static/" subdirectories and in STATICFILES_DIRS. # Example: "/home/media/media.lawrence.com/static/" STATIC_ROOT = '' -# URL that handles the static files served from STATIC_ROOT. +# URL prefix for static files. # Example: "http://media.lawrence.com/static/" STATIC_URL = '/static/' -# URL prefix for admin media -- CSS, JavaScript and images. +# URL prefix for admin static files -- CSS, JavaScript and images. # Make sure to use a trailing slash. # Examples: "http://foo.com/static/admin/", "/static/admin/". ADMIN_MEDIA_PREFIX = '/static/admin/' -# A list of locations of additional static files -STATICFILES_DIRS = () +# Additional locations of static files +STATICFILES_DIRS = ( + # Put strings here, like "/home/html/static" or "C:/www/django/static". + # Always use forward slashes, even on Windows. + # Don't forget to use absolute paths, not relative paths. + ) # List of finder classes that know how to find static files in # various locations. |
