Ticket #255: admin.py

File admin.py, 587 bytes (added by andreas@…, 14 years ago)

settings/admin.py

Line 
1# Django settings for downman project admin site.
2
3from main import *
4
5TEMPLATE_DIRS = (
6    '/usr/lib/python2.3/site-packages/django-1.0.0-py2.3.egg/django/conf/admin_templates',
7    # Put strings here, like "/home/html/django_templates".
8)
9ROOT_URLCONF = 'downman.settings.urls.admin'
10MIDDLEWARE_CLASSES = (
11    'django.middleware.admin.AdminUserRequired',
12    'django.middleware.common.CommonMiddleware',
13)
14
15# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
16# trailing slash.
17# Examples: "http://foo.com/media/", "/media/".
18ADMIN_MEDIA_PREFIX = '/media/'
Back to Top