Monday, October 3, 2011

Re: can't get STATICFILES to work (Django dev version)

On 09/26/2011 10:21 PM, nara wrote:
> I am having trouble getting STATICFILES to work. I have read the docs,
> and followed the instructions, but I never get my css files to load.
> My current workaround is to put all the css inline in my template
> file, but that should not be a permanent solution.
>

Do you ran
./manage.py runserver

or do you run under a real web server.

I you run under anything else than ./manage.py runserver, then

don't forget to run
./magage.py collectstatic

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment