django-构造第一个blog
1、安装好postgresql和psycopg2
2、django-admin.py startproject blog
3、manage.py startapp myblog
4、打开models.py
并编辑
?并编辑其中的DATABASES段Username (Leave blank to use 'deepfuture'): myblog
E-mail address: deepfuturelx@gmail.com
Password:
Password (again):
Superuser created successfully.
Installing custom SQL ...
Installing indexes ...
No fixtures found.