Hola, Para ayudarte mejor, puedes darnos el contenido de los logs? No Funciona todo el admin o simplemente no se ve bien ? Si no estarian los templates no verias NADA del admin. Si los ves, pero los ves feos, es que no estan siendo cargados los CSS/JS . Estos files son servidos estaticamente.
Por lo tanto creo que el problema es que no estan encontrando los CSS y javascript, no la falta de templates. El link http://www.pubbs.net/200909/django/82255-django-admin-templates-not-loading.html explica una solucion. Saludos Rafael On Wed, May 12, 2010 at 4:54 PM, Javier Zavaleta <[email protected]>wrote: > Hola todos > Tengo un problema acabo de instalar un servidor con apache y mod_python > y el admin de django, pero cuando ingrreso a la pagina > no esta con las plantillas (template) > alguien me puede dar una mano > > les envio parametros del settings y el conf de apache > > gracias > Javier Zavaleta > > Apache 2 > archivo configuracion > <VirtualHost *:8080> > <Location "/admin/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE cuadrillas.settings > PythonDebug On > PythonPath > "sys.path+['/home/javier/django/']+['/usr/lib/python2.5/site-packages/django/'] > </Location> > ErrorLog /var/log/django.log > CustomLog /var/log/django-acess.log combined > </VirtualHost> > > En el archivo settings.py > # Django settings for cuadrillas project. > > DEBUG = True > TEMPLATE_DEBUG = DEBUG > > ADMINS = ( > ('Javier Zavaleta', '[email protected]'), > ) > > MANAGERS = ADMINS > > DATABASE_ENGINE = 'mysql' # 'postgresql_psycopg2', 'postgresql', > 'mysql', 'sqlite3' or 'oracle'. > DATABASE_NAME = 'seguimiento' # Or path to database file if > using sqlite3. > DATABASE_USER = 'xxx' # Not used with sqlite3. > DATABASE_PASSWORD = 'xxxxxx' # Not used with sqlite3. > DATABASE_HOST = 'localhost' # Set to empty string for > localhost. Not used with sqlite3. > DATABASE_PORT = '3306' # Set to empty string for default. Not > used with sqlite3. > > TIME_ZONE = 'America/Chicago' > > LANGUAGE_CODE = 'es-pe' > SITE_ID = 1 > > USE_I18N = True > > MEDIA_ROOT = '/media/' > > MEDIA_ROOT = '/home/javier/django/' > MEDIA_URL = '' > ADMIN_MEDIA_PREFIX = '/media/' > TEMPLATE_LOADERS = ( > 'django.template.loaders.filesystem.load_template_source', > 'django.template.loaders.app_directories.load_template_source', > # 'django.template.loaders.eggs.load_template_source', > ) > > MIDDLEWARE_CLASSES = ( > 'django.middleware.common.CommonMiddleware', > 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > ) > > ROOT_URLCONF = 'cuadrillas.urls' > > TEMPLATE_DIRS = ('/home/javier/django/cuadrillas/template') > > INSTALLED_APPS = ( > 'django.contrib.auth', > 'django.contrib.contenttypes', > 'django.contrib.sessions', > 'django.contrib.sites', > 'django.contrib.admin', > 'cuadrillas', > ) > > > _______________________________________________ > Lista de correo Linux-plug > Temática: Discusión general sobre Linux > Peruvian Linux User Group (http://www.linux.org.pe) > > Participa suscribiéndote y escribiendo a: [email protected] > Para darte de alta, de baja o hacer ajustes a tu suscripción visita: > http://voip2.voip.net.pe/mailman/listinfo/linux-plug > > IMPORTANTE: Reglas y recomendaciones > http://www.linux.org.pe/listas/reglas.php > http://www.linux.org.pe/listas/comportamiento.php > http://www.linux.org.pe/listas/recomendaciones.php >
_______________________________________________ Lista de correo Linux-plug Temática: Discusión general sobre Linux Peruvian Linux User Group (http://www.linux.org.pe) Participa suscribiéndote y escribiendo a: [email protected] Para darte de alta, de baja o hacer ajustes a tu suscripción visita: http://voip2.voip.net.pe/mailman/listinfo/linux-plug IMPORTANTE: Reglas y recomendaciones http://www.linux.org.pe/listas/reglas.php http://www.linux.org.pe/listas/comportamiento.php http://www.linux.org.pe/listas/recomendaciones.php
