摘要:
1.安装tar xzvf Django-1.4.3.tar.gzcd Django-1.4.3sudo python setup.py install2.创建项目django-admin.py startproject mysite3.安装pip的方法: sudo apt-get install python-pip python-dev build-essential libpq-dev sudo pip install --upgrade pip sudo pip install --upgrade virtualenv 4.Django __init__.py:让Python把该目录当. 阅读全文