why my django admin site does not have the css style

后端 未结 19 1979
南笙
南笙 2020-12-02 07:49

I make a Django admin site using Django development version

But it does not have a CSS style :

\"alt

19条回答
  •  没有蜡笔的小新
    2020-12-02 08:19

    Configuring static files Make sure that django.contrib.staticfiles is included in your INSTALLED_APPS.

    In your settings.py file, define STATIC_URL, for example:

    STATIC_URL = '/static/'
    

    for more details static files

提交回复
热议问题