2005-07-16 06:36:26 +08:00
|
|
|
# Django settings for {{ project_name }} project admin site.
|
|
|
|
|
2005-07-16 06:35:17 +08:00
|
|
|
from main import *
|
|
|
|
|
|
|
|
TEMPLATE_DIRS = (
|
|
|
|
# Put strings here, like "/home/html/django_templates".
|
|
|
|
)
|
2005-07-17 06:58:29 +08:00
|
|
|
ROOT_URLCONF = '{{ project_name }}.settings.urls.admin'
|
2005-07-16 11:12:07 +08:00
|
|
|
MIDDLEWARE_CLASSES = (
|
2005-08-17 22:27:30 +08:00
|
|
|
'django.middleware.sessions.SessionMiddleware',
|
2005-07-16 11:12:07 +08:00
|
|
|
'django.middleware.admin.AdminUserRequired',
|
|
|
|
'django.middleware.common.CommonMiddleware',
|
|
|
|
)
|
2005-07-17 00:38:28 +08:00
|
|
|
|
|
|
|
# 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/'
|