Django don't load css

2014-12-14 Thread Jovana Andjelkovic
I am trying to run a site on Django development server but my css don't load. When I open dev tools in Chrome I see in network that css is loaded as text/plain and not as text/css.My link is good,because when I open it,it opens my css file.And my admin site don't have css also,and that can't be

Re: Django don't load css

2014-12-15 Thread Jovana Andjelkovic
It is not 404,it is 304 NOT MODIFIED,and it load it as text/plain... On Monday, December 15, 2014 8:23:22 AM UTC+1, somecallitblues wrote: > > You may have an error in your css file if the link isn't 404ring when you > look at your console or the chrome tab... > On 15/12/2014

Re: Django don't load css

2014-12-15 Thread Jovana Andjelkovic
This is my html head with css link: Rango This is settings.py: import os BASE_DIR = os.path.dirname(os.path.dirname(__file__)) TEMPLATE_PATH = os.path.join(BASE_DIR, 'templates') STATIC_PATH = os.path.join(BASE_DIR, 'static') MEDIA_ROOT = os.path.join(BASE_DIR, 'media') STATIC_ROOT = os.path.joi

Re: Django don't load css

2014-12-15 Thread Jovana Andjelkovic
Sorry,I didn't understand him :) I check css with css validator and it didn't find any errors.It is simple css file,just to check if everithing is working. I don't understand why css is not recognised as text/css,but as text/plain. Thank you for your answer... -- You received this message becau

Re: Django don't load css

2014-12-16 Thread Jovana Andjelkovic
Thank you,I will.I'll let you know if I solve my problem... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to

Re: Django don't load css

2014-12-16 Thread Jovana Andjelkovic
Thank you very much,Vadims helped me. The problem wasn't related to the Django,I installed NuSphere and it changed values in os registry. In regedit.exe I changed all css to text/css,restarted PC and css is now working fine... Here is registry fix,if someone who is having this type of problem don