擅长:python、mysql、java
<p>我想你得走了</p>
<pre><code>python manage.py collectstatic
</code></pre>
<p>并设置静态文件的设置。
在静态运行后,实际上可以在<code>STATIC ROOT</code>目录中看到grapelli文件夹。阅读这里的<a href="https://docs.djangoproject.com/en/1.8/howto/static-files/" rel="nofollow">django docs</a>了解更多详细信息。你知道吗</p>
<p>确保没有添加</p>
<pre><code>static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
</code></pre>
<p>条件<code>DEBUG == True</code>下的URL。你知道吗</p>