Home  >  Article  >  Backend Development  >  python+pycharm+django admin css style problem solution

python+pycharm+django admin css style problem solution

巴扎黑
巴扎黑Original
2017-06-23 11:37:213692browse

I plan to learn Python recently. I have a general understanding of the basic knowledge and want to get started with it.

I use python 3.5+pycharm+django 1.11.2

When using Django and opening 127.0.0.1:8000/admin, I found that the admin module css style file is missing and cannot be called

Press F12 and found that there is a problem with the admin/base.html file.

base.html file path:

python35\Lib\site-packages\django\contrib\admin\templates\admin

Solution:

1. Delete base》html header

2. Add

The above is the detailed content of python+pycharm+django admin css style problem solution. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn