A
A
Andrew2016-07-25 14:37:11
Django
Andrew, 2016-07-25 14:37:11

How to get back missing design in Django admin?

Hello, the design is not displayed in the Django admin panel. Did collectstatic , in STATIC_URL = '/static/' .
Gunicorn, when trying to enter the admin panel, throws this into the terminal:fe96786755a34bd8aa6ca31c0b8ba0a7.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
C
Cyber_bober, 2016-07-25
@Cyber_bober

Copy the css of the admin to the static folder that you designated for storing static files in settings.py

Y
Yeldos Adetbekov, 2016-10-26
@dosya97

I had this problem with nginx. It was necessary to register the alias path. Deleted the admin panel from /static/ (../static/admin/). Next, just python manage.py collectstatic.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question