Django 使用postgresql

安装:

sudo easy_install psycopg2

修改Django的settings:

数据库配置:

DATABASE_ENGINE = 'postgresql_psycopg2' 

时区:

TIME_ZONE = 'Asia/Harbin'
更多时区:

Timezones

posted @ 2010-11-29 14:37  Crazy Enzo  阅读(1882)  评论(0编辑  收藏  举报