Python论坛  - 讨论区

标题:[python-chinese] django的model里如何指定table或字段的字符编码

2007年11月02日 星期五 15:14

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 15:14:55 HKT 2007

RT
-------------- 下一部分 --------------
??HTML?????...
URL: http://python.cn/pipermail/python-chinese/attachments/20071102/d7366af7/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:21

@@ askfor在gmail.com
星期五 十一月 2 15:21:45 HKT 2007

ÔõôÓÐÕâÑùµÄÐèÒª£¿


On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> RT
> _______________________________________________
> 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/20071102/6dabe8aa/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:25

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 15:25:37 HKT 2007

ÒòΪÎÒ·¢ÏÖÔÚmysqlÀïÉú³ÉµÄtable×Ö·û²»ÊÇutf-8

ËùÒÔÎÒÏëÖ¸¶¨ËüµÄ×Ö·û±àÂë


ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
>
> ÔõôÓÐÕâÑùµÄÐèÒª£¿
>
>
> On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> >
> > RT
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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/20071102/dd75047f/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:32

@@ askfor在gmail.com
星期五 十一月 2 15:32:07 HKT 2007

djangoÀïÓ¦¸Ã²»ÄÜÖ¸¶¨°É¡£±ðµÄÊý¾Ý¿â»¹²»Ò»¶¨ÄÜÖ§³ÖtableºÍcolumnµ¥¶ÀÓÐ×Ô¼ºµÄ×Ö·û¼¯¡£

Ó¦¸ÃÊÇÔÚmysqlÀïÉèÖþͿÉÒÔÁË°É¡£


On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> ÒòΪÎÒ·¢ÏÖÔÚmysqlÀïÉú³ÉµÄtable×Ö·û²»ÊÇutf-8
>
> ËùÒÔÎÒÏëÖ¸¶¨ËüµÄ×Ö·û±àÂë
>
>
> ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> >
> >  ÔõôÓÐÕâÑùµÄÐèÒª£¿
> >
> >
> > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > >
> > > RT
> > > _______________________________________________
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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/20071102/e3d34fa4/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:36

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 15:36:41 HKT 2007

Äѵ¹ÎÒ»¹ÒªÔÚtable createÖ®ºóÈ¥Ò»¸öÒ»¸öµÄ¸Ã×Ö·û¼¯Âð

ÎÒ×òÍí¾ÍÕâÑù¸ÄµÄ£¬·³ËÀÁË



ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
>
> djangoÀïÓ¦¸Ã²»ÄÜÖ¸¶¨°É¡£±ðµÄÊý¾Ý¿â»¹²»Ò»¶¨ÄÜÖ§³ÖtableºÍcolumnµ¥¶ÀÓÐ×Ô¼ºµÄ×Ö·û¼¯¡£
>
> Ó¦¸ÃÊÇÔÚmysqlÀïÉèÖþͿÉÒÔÁË°É¡£
>
>
>  On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> >
> > ÒòΪÎÒ·¢ÏÖÔÚmysqlÀïÉú³ÉµÄtable×Ö·û²»ÊÇutf-8
> >
> > ËùÒÔÎÒÏëÖ¸¶¨ËüµÄ×Ö·û±àÂë
> >
> >
> > ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> > >
> > >  ÔõôÓÐÕâÑùµÄÐèÒª£¿
> > >
> > >
> > > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > > >
> > > > RT
> > > > _______________________________________________
> > > > 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
> > > >
> > >
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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/20071102/feb1ae89/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:42

@@ askfor在gmail.com
星期五 十一月 2 15:42:55 HKT 2007

Ä㽨µÄʱºò¾ÍÄÜÖ¸¶¨°¡¡£
ÎÒ×°ºÃºó£¬½¨±íĬÈ϶¼ÊÇUTF-8µÄ¡£¡£ÕæûӡÏóÒªÔÚÄÇÀï¸ÄÁË¡£


On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> Äѵ¹ÎÒ»¹ÒªÔÚtable createÖ®ºóÈ¥Ò»¸öÒ»¸öµÄ¸Ã×Ö·û¼¯Âð
>
> ÎÒ×òÍí¾ÍÕâÑù¸ÄµÄ£¬·³ËÀÁË
>
>
>
> ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> >
> > djangoÀïÓ¦¸Ã²»ÄÜÖ¸¶¨°É¡£±ðµÄÊý¾Ý¿â»¹²»Ò»¶¨ÄÜÖ§³ÖtableºÍcolumnµ¥¶ÀÓÐ×Ô¼ºµÄ×Ö·û¼¯¡£
> >
> > Ó¦¸ÃÊÇÔÚmysqlÀïÉèÖþͿÉÒÔÁË°É¡£
> >
> >
> >  On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > >
> > > ÒòΪÎÒ·¢ÏÖÔÚmysqlÀïÉú³ÉµÄtable×Ö·û²»ÊÇutf-8
> > >
> > > ËùÒÔÎÒÏëÖ¸¶¨ËüµÄ×Ö·û±àÂë
> > >
> > >
> > > ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> > > >
> > > >  ÔõôÓÐÕâÑùµÄÐèÒª£¿
> > > >
> > > >
> > > > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > > > >
> > > > > RT
> > > > > _______________________________________________
> > > > > 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
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > > >
> > >
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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/20071102/6c080c09/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:45

ScarletGrape Gue gue026在gmail.com
星期五 十一月 2 15:45:49 HKT 2007

mysql¿ÉÒÔÉèÖÃĬÈϵÄ×Ö·û¼¯µÄ..Windowsƽ̨µÄ»°°²×°µÄʱºò×¢Òâ¸ÄһϾͺÃÁË

On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> Äѵ¹ÎÒ»¹ÒªÔÚtable createÖ®ºóÈ¥Ò»¸öÒ»¸öµÄ¸Ã×Ö·û¼¯Âð
>
> ÎÒ×òÍí¾ÍÕâÑù¸ÄµÄ£¬·³ËÀÁË
>
>
>
> ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> >
> > djangoÀïÓ¦¸Ã²»ÄÜÖ¸¶¨°É¡£±ðµÄÊý¾Ý¿â»¹²»Ò»¶¨ÄÜÖ§³ÖtableºÍcolumnµ¥¶ÀÓÐ×Ô¼ºµÄ×Ö·û¼¯¡£
> >
> > Ó¦¸ÃÊÇÔÚmysqlÀïÉèÖþͿÉÒÔÁË°É¡£
> >
> >
> >  On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > >
> > > ÒòΪÎÒ·¢ÏÖÔÚmysqlÀïÉú³ÉµÄtable×Ö·û²»ÊÇutf-8
> > >
> > > ËùÒÔÎÒÏëÖ¸¶¨ËüµÄ×Ö·û±àÂë
> > >
> > >
> > > ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> > > >
> > > >  ÔõôÓÐÕâÑùµÄÐèÒª£¿
> > > >
> > > >
> > > > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > > > >
> > > > > RT
> > > > > _______________________________________________
> > > > > 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
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > > >
> > >
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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/20071102/74429fa3/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 15:58

beck917 beck917在gmail.com
星期五 十一月 2 15:58:09 HKT 2007

½¨Á¢Êý¾Ý¿âµÄʱºòÉèÖÃ×Ö·û¼¯µÄ
ÒÔºóÓÃdjango½¨µÄtable¶¼»áÊÇ¿ªÊ¼´´½¨Êý¾Ý¿âʱµÄ×Ö·û¼¯

ÔÚ07-11-2£¬ScarletGrape Gue <gue026在gmail.com> дµÀ£º
>
> mysql¿ÉÒÔÉèÖÃĬÈϵÄ×Ö·û¼¯µÄ..Windowsƽ̨µÄ»°°²×°µÄʱºò×¢Òâ¸ÄһϾͺÃÁË
>
> On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> >
> > Äѵ¹ÎÒ»¹ÒªÔÚtable createÖ®ºóÈ¥Ò»¸öÒ»¸öµÄ¸Ã×Ö·û¼¯Âð
> >
> > ÎÒ×òÍí¾ÍÕâÑù¸ÄµÄ£¬·³ËÀÁË
> >
> >
> >
> > ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> > >
> > > djangoÀïÓ¦¸Ã²»ÄÜÖ¸¶¨°É¡£±ðµÄÊý¾Ý¿â»¹²»Ò»¶¨ÄÜÖ§³ÖtableºÍcolumnµ¥¶ÀÓÐ×Ô¼ºµÄ×Ö·û¼¯¡£
> > >
> > > Ó¦¸ÃÊÇÔÚmysqlÀïÉèÖþͿÉÒÔÁË°É¡£
> > >
> > >
> > >  On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > > >
> > > > ÒòΪÎÒ·¢ÏÖÔÚmysqlÀïÉú³ÉµÄtable×Ö·û²»ÊÇutf-8
> > > >
> > > > ËùÒÔÎÒÏëÖ¸¶¨ËüµÄ×Ö·û±àÂë
> > > >
> > > >
> > > > ÔÚ07-11-2£¬@@ <askfor在gmail.com> дµÀ£º
> > > > >
> > > > >  ÔõôÓÐÕâÑùµÄÐèÒª£¿
> > > > >
> > > > >
> > > > > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com > wrote:
> > > > > >
> > > > > > RT
> > > > > > _______________________________________________
> > > > > > 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
> > > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > 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
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > 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
> > > >
> > >
> > >
> > > _______________________________________________
> > > 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
> > >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
> _______________________________________________
> 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/20071102/29ac2cd0/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 16:00

limodou limodou在gmail.com
星期五 十一月 2 16:00:43 HKT 2007

On 11/2/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> 难倒我还要在table create之后去一个一个的该字符集吗
>
> 我昨晚就这样改的,烦死了
>
你是说表名,难不成你使用中文的表名?

-- 
I like python!
UliPad <>: http://code.google.com/p/ulipad/
meide <>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 16:12

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 16:12:48 HKT 2007

²»ÊDZíÃû

¾ÍÊÇ×Ö¶ÎֵҪΪÖÐÎÄ°¡£¬ËùÒÔÒªÉèÖóÉutf-8°¡
²»ÖªµÀmodelÀïÃæµÄÒ»¸ö__unicode__()ÓкÎÓô¦


ÔÚ07-11-2£¬limodou <limodou在gmail.com> дµÀ£º
>
> On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > Äѵ¹ÎÒ»¹ÒªÔÚtable createÖ®ºóÈ¥Ò»¸öÒ»¸öµÄ¸Ã×Ö·û¼¯Âð
> >
> > ÎÒ×òÍí¾ÍÕâÑù¸ÄµÄ£¬·³ËÀÁË
> >
> ÄãÊÇ˵±íÃû£¬ÄѲ»³ÉÄãʹÓÃÖÐÎĵıíÃû£¿
>
> --
> I like python!
> UliPad <>: http://code.google.com/p/ulipad/
> meide <>: http://code.google.com/p/meide/
> My Blog: http://www.donews.net/limodou
> _______________________________________________
> 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/20071102/d17d1808/attachment.htm 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 16:20

limodou limodou在gmail.com
星期五 十一月 2 16:20:46 HKT 2007

On 11/2/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> 不是表名
>
> 就是字段值要为中文啊,所以要设置成utf-8啊
> 不知道model里面的一个__unicode__()有何用处
>
字段名使用中文的我没见过。__unicode__()是当Admin显示对象时用的。与column无关。

-- 
I like python!
UliPad <>: http://code.google.com/p/ulipad/
meide <>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 16:25

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 16:25:52 HKT 2007

ÎÒ±ÏÒµÁ˺öàÄêÁË£¬ÓÉÓÚÏÖÓÐͬѧ¼ÉϵĿռäÓÐÑÛ£¬²»µÃ²»×Ô¼ºÐ´¸öÕ¾µãÁË

ʹÓÃdjangoÕæÊÇÍ´¿àѧµãдµã²éµãдһµã


ÔÚ07-11-2£¬limodou <limodou在gmail.com> дµÀ£º
>
> On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > ²»ÊDZíÃû
> >
> > ¾ÍÊÇ×Ö¶ÎֵҪΪÖÐÎÄ°¡£¬ËùÒÔÒªÉèÖóÉutf-8°¡
> > ²»ÖªµÀmodelÀïÃæµÄÒ»¸ö__unicode__()ÓкÎÓô¦
> >
> ×Ö¶ÎÃûʹÓÃÖÐÎĵÄÎÒû¼û¹ý¡£__unicode__()Êǵ±AdminÏÔʾ¶ÔÏóʱÓõġ£ÓëcolumnÎ޹ء£
>
> --
> I like python!
> UliPad <>: http://code.google.com/p/ulipad/
> meide <>: http://code.google.com/p/meide/
> My Blog: http://www.donews.net/limodou
> _______________________________________________
> 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/20071102/d71a336a/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 16:45

limodou limodou在gmail.com
星期五 十一月 2 16:45:21 HKT 2007

On 11/2/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> 我毕业了好多年了,由于现有同学录上的空间有眼,不得不自己写个站点了
>
> 使用django真是痛苦学点写点查点写一点
>
其它的也一样,这东西就是要熟才行。

-- 
I like python!
UliPad <>: http://code.google.com/p/ulipad/
meide <>: http://code.google.com/p/meide/
My Blog: http://www.donews.net/limodou

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 16:53

vicalloy zbirder在gmail.com
星期五 十一月 2 16:53:47 HKT 2007

怕麻烦可以用现成的东西嘛。
要功能强可以安个cms(不过我感觉这东西太复杂了)
用wordpress主要用来Blog的,不过安装完插件后功能还还行。

在 07-11-2,limodou<limodou在gmail.com> 写道:
> On 11/2/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> > 我毕业了好多年了,由于现有同学录上的空间有眼,不得不自己写个站点了
> >
> > 使用django真是痛苦学点写点查点写一点
> >
> 其它的也一样,这东西就是要熟才行。
>
> --
> I like python!
> UliPad <>: http://code.google.com/p/ulipad/
> meide <>: http://code.google.com/p/meide/
> My Blog: http://www.donews.net/limodou
> _______________________________________________
> 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


-- 
Blog http://vicalloy.spaces.live.com/
My googlepage http://vicalloy.googlepages.com/
OldPhoto http://www.lzpian.com/

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

2007年11月02日 星期五 18:53

Fluke fluke.l在gmail.com
星期五 十一月 2 18:53:45 HKT 2007

²»Ðаɣ¬±ðµÄÊý¾Ý¿â²»Ò»¶¨Ö§³ÖÕë¶Ô×Ö¶ÎÖ¸¶¨±àÂë¡£

ÄãÖ¸¶¨ÁËĬÈϱàÂëµÄ»°£¬Ä¬ÈÏÿ¸ö×Ö¶ÎÔÚ½¨Á¢±íµÄʱºò¶¼ÊÇÒ»ÑùÓÃĬÈϱàÂ룬×îÆðÂëÔÚdjango½¨±íµÄʱºò²»»á³öÏÖ×ֶαàÂ벻ͳһµÄÇé¿öµÄѽ¡£


On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
>
> RT
> _______________________________________________
> 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
>



-- 
Yours,
  fluke
fluke在sfcube.net
http://blog.ospattern.net
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071102/c361d4fb/attachment.html 

[导入自Mailman归档:http://www.zeuux.org/pipermail/zeuux-python]

如下红色区域有误,请重新填写。

    你的回复:

    请 登录 后回复。还没有在Zeuux哲思注册吗?现在 注册 !

    Zeuux © 2025

    京ICP备05028076号