On Feb 28, 5:56 am, "MattW" <[EMAIL PROTECTED]> wrote:
>
> The change from dev to production seems like it might be a pain.
>
I agree somewhat. Speaking as a person transitioning from Tomcat to
Django. Dealing with static files is one of the things about Django
that
does take some getting used t
Thanks for all the help - have got it working.
I have to say that (IMHO) it doesn't seem the nicest way to do
things...I'm sure there are reasons, I'm just saying it doesn't feel
so nice.
The change from dev to production seems like it might be a pain.
As a note on docs - I was looking at the D
It's probably a path-related issue.
You might start here as a reference:
http://www.djangoproject.com/documentation/static_files/
Bit o' learning curve serving CSS when starting out, in my experience,
because of the way Django encourages/prods/provokes us to serve static
media separately.
--~
MattW schreef:
> Dear Group,
>
> I've got an HTML page with associated CSS that I want to use as my
> template. Just to test it, I call:
>
> return render_to_response('about.html')
>
> and I get the page, but with no CSS info. I've checked the page
> source, and it has the name of the styleshee
I'm taking a guess that your css is meant to be served as a static file
through your webserver and not a django view? If I'm right about that,
and you're using apache+mod_python, check out the "Serving Media"
section at http://www.djangoproject.com/documentation/modpython/
You need to tell your
On 2/27/07, MattW <[EMAIL PROTECTED]> wrote:
>
> Dear Group,
>
> I've got an HTML page with associated CSS that I want to use as my
> template. Just to test it, I call:
>
> return render_to_response('about.html')
>
> and I get the page, but with no CSS info. I've checked the page
> source, and it h
Dear Group,
I've got an HTML page with associated CSS that I want to use as my
template. Just to test it, I call:
return render_to_response('about.html')
and I get the page, but with no CSS info. I've checked the page
source, and it has the name of the stylesheet in there, and the page
renders
7 matches
Mail list logo