Re: Problem with Css and django template

2008-01-15 Thread laspal
Ya done. Thanks a lot. On Jan 15, 1:15 pm, shabda <[EMAIL PROTECTED]> wrote: > You need to change this line > type="text/css" href="testing1.css" /> > to > type="text/css" href="/static/testing1.css" /> > > On Jan 15, 1:00 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > > > On Jan 15, 2008 1:08

Re: Problem with Css and django template

2008-01-15 Thread shabda
You need to change this line type="text/css" href="testing1.css" /> to type="text/css" href="/static/testing1.css" /> On Jan 15, 1:00 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 1:08 AM, laspal <[EMAIL PROTECTED]> wrote: > > This: > > > (r'^static/(?P.*)$', 'django.views.

Re: Problem with Css and django template

2008-01-15 Thread laspal
Hi, I am still not able to fix it. Can u please let me know what should my should be depending upon the url. Do I have to make any change in my setting.py file. Thanks. On Jan 15, 1:00 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Jan 15, 2008 1:08 AM, laspal <[EMAIL PROTECTED]> wrote: >

Re: Problem with Css and django template

2008-01-15 Thread James Bennett
On Jan 15, 2008 1:08 AM, laspal <[EMAIL PROTECTED]> wrote: This: > (r'^static/(?P.*)$', 'django.views.static.serve', > {'document_root': '/home/laspal/trytemplate/Template/', > 'show_indexes' : True}), Does not match the URL in this: > type="text/css" href="testing1.css" /> So change one

Problem with Css and django template

2008-01-14 Thread laspal
hi, I am new to django and I am having problem with css and template. I have read the documentation on static file http://www.djangoproject.com/documentation/static_files/ but still having the problem. This is how my url.py file is: from django.conf.urls.defaults import * from trytemplate.views