> Funny that css and js are considered "static media". In the spirit
> of templating they should be dynamic.
I'm not quite sure what you mean. Typically the contents of CSS,
Javascript, and image files don't change from request to request.
Hence - "static media". In most cases requests for "st
On Wednesday 05 March 2008 13:37:58 Brian Luft wrote:
> Serving static media really has nothing to do with Django.
Funny that css and js are considered "static media". In the spirit
of templating they should be dynamic. I would characterize them as
junk_patched_on_to_a_crappy_platform. But, O
Serving static media really has nothing to do with Django. Presumably
your browser is reading the CSS file and making a request back to your
web server for the file. You haven't told us anything about your web
server configuration. What path is being requested to the server for
the image file?
On Tuesday 04 March 2008 12:38:25 Lewis Bergman wrote:
> Where are your templates stored?
currently, here
TEMPLATE_DIRS = (
'/home/philproj/dirview/httemplates',)
but I have copies of dirview.css in that any every
other directory I could think of accessible to user phil.
And, oh yeah, no sla
> I can't figure out where to put css files or background images
> referred to by
> css. I have:
>
>
> and
> MEDIA_ROOT = '/home/phil/philproj/media/'
Don't you need a '/media/' or something before that 'dirview.css'?
What is your MEDIA_URL?
Since Django normally has the media files (css, i
Where are your templates stored?
Phillip Watts wrote:
> I can't figure out where to put css files or background images referred to by
> css. I have:
>
>
> and
> MEDIA_ROOT = '/home/phil/philproj/media/'
>
> ls -al /home/phil/philproj/media
> total 12
> drwxr-xr-x 2 phil phil 4096 2008-03-04
I can't figure out where to put css files or background images referred to by
css. I have:
and
MEDIA_ROOT = '/home/phil/philproj/media/'
ls -al /home/phil/philproj/media
total 12
drwxr-xr-x 2 phil phil 4096 2008-03-04 11:57 .
drwxr-xr-x 7 phil phil 4096 2008-03-04 12:14 ..
-rw-r--r-- 1 phil p
7 matches
Mail list logo