The path to the admin media files is:

........../site-packages/django/contrib/admin/media

If you did not touch ADMIN_MEDIA_PREFIX in your project's settings.py, it
should be '/media/'

All you have to do is create a link.  For Ubuntu, it would look like this:

$ ln -s /usr/lib/python2.5/site-packages/django/contrib/admin/media
/var/www/media

Just adjust the locations according to your distro.

keith


On Fri, Sep 12, 2008 at 6:55 PM, Tom MacKenzie <[EMAIL PROTECTED]>wrote:

>
> Hi All,
>
> I am able to view the admin pages correctly via python's development
> server. Once I set up in Apache it looses its format.
>
> I have tinkered with the settings.py and /etc/httpd/conf.d/python.conf
> so much my eyes are starting to cross :)
> can anyone help out a newb and post instructions or a link?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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