2007年11月25日 星期日 12:03
¿´ÁËDjango step by stepÀïÓõÄÊÇsqlite~ DATABASE_ENGINE = 'sqlite3' DATABASE_NAME = './data.db' DATABASE_USER = '' DATABASE_PASSWORD = '' DATABASE_HOST = '' DATABASE_PORT = '' Èç¹û¸Ä³ÉpostgresqlÔõôд·¨£¿ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071125/c9ec32cb/attachment.htm
2007年11月25日 星期日 12:31
¿´settings.pyÎļþºóÃæµÄ×¢Ê;ͺÜÇå³þÁË.²Î¿¼http://www.djangobook.com/en/beta/chapter05/ ÖеÄconfiguring datebase ÔÚ07-11-25£¬°¢½Ü <gujiajie在gmail.com> дµÀ£º > > ¿´ÁËDjango step by stepÀïÓõÄÊÇsqlite~ > DATABASE_ENGINE = 'sqlite3' > DATABASE_NAME = './data.db' > DATABASE_USER = '' > DATABASE_PASSWORD = '' > DATABASE_HOST = '' > DATABASE_PORT = '' > > Èç¹û¸Ä³ÉpostgresqlÔõôд·¨£¿ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071125/cfcc176e/attachment.htm
2007年11月25日 星期日 13:10
DATABASE_ENGINE = 'postgresql' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'mydb' # Or path to database file if using sqlite3. DATABASE_USER = 'aj' # Not used with sqlite3. DATABASE_PASSWORD = '123456' # Not used with sqlite3. DATABASE_HOST = '' # Set to empty string for localhost. Not used with sqlite3. DATABASE_PORT = '' ÕâÑùÌîдÊÇ·ñÕýÈ·£¿Óû§ºÍÃÜÂëÒÑÔÚpostgresqlÖн¨Á¢ÁË ÎÒÅöµ½´íÎóÊÇ£º OperationalError: ÖÂÃü´íÎó: Óû§ "aj" Ident ÈÏ֤ʧ°Ü¡«¡« -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071125/8a77934a/attachment.html
2007年11月25日 星期日 20:25
On Nov 25, 2007 1:10 PM, °¢½Ü <gujiajie在gmail.com> wrote: > DATABASE_ENGINE = 'postgresql' # 'postgresql_psycopg2', > 'postgresql', 'mysql', 'sqlite3' or 'oracle'. > DATABASE_NAME = 'mydb' # Or path to database file if using > sqlite3. > DATABASE_USER = 'aj' # Not used with sqlite3. > DATABASE_PASSWORD = '123456' # Not used with sqlite3. > DATABASE_HOST = '' # Set to empty string for localhost. Not > used with sqlite3. > DATABASE_PORT = '' > > ÕâÑùÌîдÊÇ·ñÕýÈ·£¿Óû§ºÍÃÜÂëÒÑÔÚpostgresqlÖн¨Á¢ÁË > ÎÒÅöµ½´íÎóÊÇ£º > > OperationalError: ÖÂÃü´íÎó: Óû§ "aj" Ident ÈÏ֤ʧ°Ü¡«¡« ÓõÄʲôϵͳ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071125/7735d422/attachment.html
2007年11月26日 星期一 10:20
лл¹Ø×¢£¬Å¼ÒѾÕÒµ½ÔÒòÁË¡«ºÇºÇ ÔÚ07-11-25£¬Ben Luo <benluo在gmail.com> дµÀ£º > > > > On Nov 25, 2007 1:10 PM, °¢½Ü <gujiajie在gmail.com> wrote: > > > DATABASE_ENGINE = 'postgresql' # 'postgresql_psycopg2', > > 'postgresql', 'mysql', 'sqlite3' or 'oracle'. > > DATABASE_NAME = 'mydb' # Or path to database file if using > > sqlite3. > > DATABASE_USER = 'aj' # Not used with sqlite3. > > DATABASE_PASSWORD = '123456' # Not used with sqlite3. > > DATABASE_HOST = '' # Set to empty string for localhost. Not > > used with sqlite3. > > DATABASE_PORT = '' > > > > ÕâÑùÌîдÊÇ·ñÕýÈ·£¿Óû§ºÍÃÜÂëÒÑÔÚpostgresqlÖн¨Á¢ÁË > > ÎÒÅöµ½´íÎóÊÇ£º > > > > OperationalError: ÖÂÃü´íÎó: Óû§ "aj" Ident ÈÏ֤ʧ°Ü¡«¡« > > > ÓõÄʲôϵͳ > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20071126/fcb8802d/attachment.htm
Zeuux © 2025
京ICP备05028076号