Answer the question
In order to leave comments, you need to log in
The styles of the admin panel have flown, how to return?
Added ROOT URL STATIC
STATIC_URL = '/static/'
STATICFILES_DIRS = [
os.path.join(BASE_DIR, "static"),
]
STATIC_ROOT = "/home/www-data/mysite/static/"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question