django1/django/conf/project_template/settings/admin.py

18 lines
518 B
Python

# Django settings for {{ project_name }} project admin site.
from main import *
TEMPLATE_DIRS = (
# Put strings here, like "/home/html/django_templates".
)
ROOT_URLCONF = '{{ project_name }}.settings.urls.admin'
MIDDLEWARE_CLASSES = (
'django.middleware.admin.AdminUserRequired',
'django.middleware.common.CommonMiddleware',
)
# 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/'