Default Django 1.5 admin css not working

后端 未结 3 1810
慢半拍i
慢半拍i 2021-01-14 04:36

I just installed my django 1.5 app on ec2 and right now the /admin portion of the site doesn\'t have css. Is there a way that I can configure this?

Just to add to th

3条回答
  •  鱼传尺愫
    2021-01-14 05:06

    How did you configure it? For admin app to load static files, you need to create a symbolic link inside your app's static directory. Have you done this?

    ls -l should give something like:

    admin -> /usr/local/lib/python2.6/dist-packages/django/contrib/admin/media
    

提交回复
热议问题