On Jun 19, 5:55 am, "Evan Carmi" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> My admin css and images have disappeared. I am running django with
> lighttpd. My settings contains:
> -----
> # URL prefix for admin media -- CSS, JavaScript and images. Make sure to
>        use a
>      39 # trailing slash.
>      40 # Examples: "http://foo.com/media/";, "/media/".
>      41 ADMIN_MEDIA_PREFIX = '/media/'
>      42
> -----
>
> My urls is:
> -----
> from django.conf.urls.defaults import *
>
> urlpatterns = patterns('',
>         # Example:
>         (r'^polls/', include('binarymanipulations.polls.urls')),
>         # Uncomment this for admin:
>         (r'^admin/', include('django.contrib.admin.urls')),
>         (r'^date/', include('binarymanipulations.date.urls')),
>         (r'^blog/', include('binarymanipulations.blog.urls')),
>         (r'^contact/', include('binarymanipulations.contact.urls')),
>         (r'^comments/',
> include('django.contrib.comments.urls.comments')),
> )
>
> -----
>
> For an example the login screen:
>
> http://binarymanipulations.com/admin/
>
> Any help would be greatly appreciated,
>
> Evan

Evan,


In your lighttpd configs, make an Alias for /media/ to your admin
media itself.  This should be found somewhere in django/contrib/ (in
wherever you installed django).

For info on Lighttpd aliases:

http://www.cyberciti.biz/tips/configure-lighttpd-alias-mod_alias.html

HTH,

Michael


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