我升级到Django 1.4,现在我的管理静态文件将不会加载。我的设置文件的 相关的部分看起来像: MEDIA_ROOT = os.path.join(SITE_ROOT, 'media')
# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash.
# Examples
import os
from os.path import abspath, dirname
import sys
# Set up django
project_dir = abspath(dirname(dirname(__file__)))
sys.path.insert(0, project_dir)
os.environ["DJANGO_SETTINGS_MODULE"]
我试图在Ubuntu上安装GRAPHITE。我遵循博客中的说明。 http://geek.michaelgrace.org/2011/09/how-to-install-graphite-on-ubuntu/
当我到达运行命令的部分时。我得到下面的错误。我对如何解决问题毫无头绪。我正在使用最新版本的Django 1.4。 cd /opt/graphite/webapp/graphite/
s