On Sat, Jun 14, 2008 at 2:41 PM, LB <[EMAIL PROTECTED]> wrote:

>
>    Hi,
>
> I've just finished my first template, it seems to work finie, but is
> not properly displayed.
> Indeed, the stylesheet seems not to be transmitted to firefox.
>
> When I look at the output of django web server, I can see this
> message :
> [14/Jun/2008 19:05:45] "GET /actu HTTP/1.1" 200 3158
> [14/Jun/2008 19:05:45] "GET /style.css HTTP/1.1" 404 1973
>
> so, the stylesheet was not found and was not transmitted.
>
> This seems logical with my current urls.py, where there is no rules
> for style.css :
>
> urlpatterns = patterns('',
>    (r'^actu$', 'monsite.contacts.views.actu'),
>
>    # Uncomment this for admin:
>    (r'^admin/', include('django.contrib.admin.urls')),
> )
>
> How to configure django to make this work properly ?
>

http://www.djangoproject.com/documentation/static_files/

Karen

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