Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

300
Visualizações
Django is not styling the page although the static files are being fetched with 200 response code

Django is displaying a 200 response code for every static file that has been asked for yet the page isn't styled.Some of the static files requested and the response code Can anyone tell what the problem is here?

The page isn't looking like it's supposed to be

The lines where I am including static files static files

My static urls in settings.py STATIC_URL = '/static/'

STATIC_ROOT = 'static'

MEDIA_URL = '/media/'

And in urls.py

urlpatterns += static(settings.MEDIA_URL, document_root = settings.MEDIA_ROOT)

urlpatterns += static(settings.STATIC_URL, document_root = settings.STATIC_ROOT)

The weird part about it is that this error came out of nowhere. It was working fine yesterday and today it won't style the pages. I haven't edited any code because of which this might happen.

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda