1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Added ADMIN_MEDIA_PREFIX setting instead of hard-coding /m/

git-svn-id: http://code.djangoproject.com/svn/django/trunk@108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty
2005-07-16 16:38:28 +00:00
parent 470db1208d
commit 68baafc110
5 changed files with 40 additions and 11 deletions

View File

@@ -54,6 +54,11 @@ AUTH_SESSION_COOKIE = 'rizzo'
# List of locations of the template source files, in search order.
TEMPLATE_DIRS = ()
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/media/'
# Default e-mail address to use for various automated correspondence from
# the site managers.
DEFAULT_FROM_EMAIL = 'webmaster@localhost'