I've been trying to get my CSS to work with my python powered site forever
but I have no luck. I read the djangobook and a massive load of other
resources but they all say a different thing and nothing worked for me. I
would appreciate a few helpful steps on how to get my CSS to work.
Some detai
In a production environment, yes your static files (incl CSS) will need
to be served outside of Django (can be on the same server, but it's
generally recommended to use a separate serve or CDN). On your local
development server (where you're using the runserver command), you can
use the built-in st
On Sunday 06 January 2013 11:49:46 AM django-users@googlegroups.com
wrote:
Czaro Jan 05 06:12PM -0800 I've been trying to get my CSS to
work with my python powered site forever but I have no luck. I
read the djangobook and a massive load of other resources but
they all say a different thing
Czaro, to better understand the problem it will be good if you could tell
us something more about how are you calling your css files from your
templates and where are they located. I will also assume Django 1.4 to tell
you some tips (mostly already covered).
- Set your STATIC_ROOT.
I use
On Jan 5, 2013, at 9:12 PM, Czaro wrote:
> I've been trying to get my CSS to work with my python powered site forever
> but I have no luck. I read the djangobook and a massive load of other
> resources but they all say a different thing and nothing worked for me. I
> would appreciate a few hel
Running a dev server, is the following required or not--> "manage.py
collectstatic"? The official docs would indicate no and there is too much
mis-information floating around so it is hard to verify one way or the
other for a noob. Django 1.4 would appear to be able to find static files
in dev
6 matches
Mail list logo