Hello All, I am trying to get my admin pages work but failed. I have several django apps on the same hosting. For the latest I dopped in the latest brand new django 1.1.1 and mentioned it via PythonPath directive. Everything works but admin pages - they miss link to base.css. ---------- settings.py -------------------- ADMIN_MEDIA_PREFIX = '/adminmedia/' ------------ link to fresh django admin ------------------- 19:10 adminmedia -> /home/g/grifoncons/django_projects/django-latest/ django/contrib/admin/media/ -------------- .htaccess ----------------- RewriteEngine on
RewriteRule ^/media/(.*)$ /media/$1 [QSA,L,PT] RewriteRule ^/static/(.*)$ /static/$1 [QSA,L,PT] SetHandler python-program PythonHandler django.core.handlers.modpython SetEnv DJANGO_SETTINGS_MODULE shoeshop.settings # PythonOption django.root backoffice/ PythonInterpreter bridgidda-cp PythonPath "['/home/g/grifoncons/django_projects/django-latest/ django/','/home/g/grifoncons/django_projects/','/home/g/grifoncons/ django_projects/shoeshop','/home/g/grifoncons/django_projects/shoeshop/ backoffice']+sys.path" PythonDebug On Options +FollowSymLinks ----------------- generated admin page -------------- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="ru-ru" xml:lang="ru- ru" > <head> <title>Администрирование сайта | Административный сайт Django</title> <link rel="stylesheet" type="text/css" href="/adminmedia/css/ dashboard.css" /> ------------------------------ What I missed? I am really stucked... I also tried the latest svn version with the same result. My previous applications use django 1.0 placed at hosting and copied admin/media content into web root of the application works well. Andrew -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.