Re: Why it doesn't work in Django

2005-11-21 Thread PythonistL
Thank you, Adrian. I downloaded the latest version and now images work well. Regards, L

Re: Why it doesn't work in Django

2005-11-21 Thread Adrian Holovaty
On 11/21/05, PythonistL <[EMAIL PROTECTED]> wrote: > If I download the latest development version, will be the change > already present? > Or where can I find the file in Django installation to apply the patch > by myself? The change was checked in earlier this morning; it's in the development ve

Re: Why it doesn't work in Django

2005-11-21 Thread PythonistL
Eugene, Thank you. If I download the latest development version, will be the change already present? Or where can I find the file in Django installation to apply the patch by myself? thank you regards, L.

Re: Why it doesn't work in Django

2005-11-20 Thread Eugene Lazutkin
I see. I've submitted a patch http://code.djangoproject.com/ticket/866. Thanks, Eugene "PythonistL" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Yes, I use XP windows > Regards, > L. > >

Re: Why it doesn't work in Django

2005-11-20 Thread PythonistL
Yes, I use XP windows Regards, L.

Re: Why it doesn't work in Django

2005-11-19 Thread Eugene Lazutkin
"PythonistL" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I also tried django.views.static.serve with the images. An image file > is found ( HTTP/1.0 200 OK) but the image is distorted( damaged). Why? Do you use Windows? Thanks, Eugene

Re: Why it doesn't work in Django

2005-11-19 Thread PythonistL
Thank you ALL for the explanation. I checked http://code.djangoproject.com/ticket/810 to try django.views.static.serve and it worked with CSS. . But I found out that in CSS file I can not use p. EntryField {... ... ... } but must use p.EntryField {... ... ... } I also tried django.views.stati

Re: Why it doesn't work in Django

2005-11-18 Thread David Ascher
On 11/18/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: The Web page isn't recognizing your CSS file. Django isn't intendedserve static media files -- such as CSS -- so you'll need to useanother server, such as Apache, to serve the CSS file. Alternatively,check out the django.views.static.serve, w

Re: Why it doesn't work in Django

2005-11-18 Thread Adrian Holovaty
On 11/18/05, PythonistL <[EMAIL PROTECTED]> wrote: > it does NOT work( the text is not white and background is not black. > > But why? Where did I make a mistake? The Web page isn't recognizing your CSS file. Django isn't intended serve static media files -- such as CSS -- so you'll need to use a

Re: Why it doesn't work in Django

2005-11-18 Thread Bryan L. Fordham
On Fri, Nov 18, 2005 at 01:32:34PM -0800, PythonistL wrote: > But why? Where did I make a mistake? because it's trying to serve the page like it's a view. For instance, if your view is /foo/bar, go to /foo/style.css and you'll get a 404. But that's where it's trying to load it. You'll want to

Why it doesn't work in Django

2005-11-18 Thread PythonistL
I have a following problem with CSS file. My template Test.html looks like this ## TEST ONLY ### where Test.css looks like this ### body { background: #00; color: #FF; font: 10pt verdana, geneva, lucida, 'lucida grande', arial