On 21-Sep-07, at 5:13 PM, Anurag wrote:

>   However my admin interface is all garbled up and what i did was i
> copied the media directory from /admin/media into the htdocs of my
> Apache setup. But i am still unable to see the admin interface
> correctly.

coming from php? Never put anything in htdocs. You need an alias like

Alias /media/ "/home/anurag/django_src/django/contrib/admin/media/"
  <Directory /home/anurag/django_src/django/contrib/admin/media/>
       Order deny,allow
       Allow from all
     </Directory>

and in settings.py
ADMIN_MEDIA_PREFIX = '/media/'


-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to