On 5/19/06, Josh Trutwin <[EMAIL PROTECTED]> wrote:
> According to the docs, serving the css in the admin is best done
> via:
>
> 1. Create a symbolic link to the admin media files from within your
> document root. This way, all of your Django-related files -- code
> and templates -- stay in one place, and you'll still be able to svn
> update your code to get the latest admin templates, if they change.
>
> 2. Or, copy the admin media files so that they live within your
> Apache document root.
>
> Wouldn't it be easier to do this in httpd.conf?
>
> Alias /media 
> /your/path/to/python/lib/python2.4/site-packages/django/contrib/admin/media

Yeah, I've started doing that, too. We might as well mention that
alternative in the documentation -- good point!

Adrian

-- 
Adrian Holovaty
holovaty.com | djangoproject.com

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

Reply via email to