浪点空间上,使用django #获取django svn 版本:
mkdir script && cd script
svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk
mkdir django-project && cd django-project
django-admin startproject notsobad
最后: 设置.htaccess
SetHandler python-program PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE notsobad.settings PythonPath "['/home/virtualhost/lnotsoba/script/django-trunk','/home/virtualhost/lnotsoba/script/django-project']+sys.path"
PythonDebug On
参考: http://www.londit.cn/FAQ/Python http://docs.djangoproject.com/en/dev/topics/install/