Django

Code

Changeset 3006

Show
Ignore:
Timestamp:
05/29/06 20:43:32 (2 years ago)
Author:
root
Message:

Small changes to djangoproject.com admin settings

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • djangoproject.com/django_website/settings/admin.py

    r1333 r3006  
    44TEMPLATE_DIRS = ( 
    55    '/home/html/templates/admin.djangoproject.com/', 
    6     '/home/html/templates/shared-admin/', 
     6#    '/home/html/templates/shared-admin/', 
    77) 
     8INSTALLED_APPS = INSTALLED_APPS + ('django.contrib.admin',) 
    89ROOT_URLCONF = 'django_website.settings.urls.admin' 
    910MIDDLEWARE_CLASSES = ( 
    1011    'django.middleware.sessions.SessionMiddleware', 
    11     'django.middleware.admin.AdminUserRequired', 
    1212    'django.middleware.common.CommonMiddleware', 
    1313) 
     
    1616) 
    1717ADMIN_MEDIA_PREFIX = '/m/' 
     18TEMPLATE_LOADERS = ( 
     19    'django.core.template.loaders.filesystem.load_template_source', 
     20    'django.core.template.loaders.app_directories.load_template_source', 
     21)