Serving static files (admin panel and others)

26 views
Skip to first unread message

Muhammed Tüfekyapan

unread,
Dec 13, 2014, 6:55:00 PM12/13/14
to django...@googlegroups.com
Hello everyone,


I try many things to serve .css files but I can't do that. How can i serve .css and .js files in Django 1.7?


I typed django manage.py collectstatic but still my admin panel don't load css.

What can i do?



Best.

Florian Schweikert

unread,
Dec 13, 2014, 9:31:49 PM12/13/14
to django...@googlegroups.com
did you follow the howto in the documentation?

https://docs.djangoproject.com/en/1.7/howto/static-files/

-- Florian

signature.asc

Muhammed Tüfekyapan

unread,
Dec 14, 2014, 1:49:19 AM12/14/14
to django...@googlegroups.com, kel...@ist-total.org
I find the problem. 


Problem was the file dir nginx looking for static file is different than I used for static file.

I changed the files location and it solved.


Thanks for response.
Reply all
Reply to author
Forward
0 new messages