Default Django 1.5 admin css not working

后端 未结 3 1830
慢半拍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:07

    I had exactly the same problem and I think I figured it out how to solve it. Actually it's not that hard. All you need to modify is your settings.py(STATIC_ROOT and STATIC_URL) and server config file (url alias). I wrote a short blog post with 3 steps. http://www.ycshao.com/?p=898.

提交回复
热议问题