Answer the question
In order to leave comments, you need to log in
How to fix admin panel in django?
Why is the admin panel displayed incorrectly?
Before that, everything was displaying well.
Answer the question
In order to leave comments, you need to log in
Compare the paths to the style files in the page source code with the paths in the
upd browser console.
if in the console there is something like Resource interpreted as Stylesheet but transferred with MIME type application/x-css , then try adding it to setting.py
import mimetypes
mimetypes.add_type("text/css", ".css", True)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question