Python论坛  - 讨论区

标题:[python-chinese] newforms问题输出的表单不换行

2007年11月02日 星期五 08:43

朽木klutz chumpklutz在gmail.com
星期五 十一月 2 08:43:38 HKT 2007

ÎÒʹÓÃnewforms¸ù¾ÝmodelsÉú³ÉµÄ±íµ¥Ö±½ÓÊä³öµ½Ò³ÃæÉÏ
¿ÉÊǸ÷¸ö×ֶμ䲻»»ÐУ¬Ôõô°ì°¡
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20071102/ae8428d6/attachment.html 

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

2007年11月02日 星期五 08:55

limodou limodou在gmail.com
星期五 十一月 2 08:55:12 HKT 2007

On 11/2/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> 我使用newforms根据models生成的表单直接输出到页面上
> 可是各个字段间不换行,怎么办啊

newforms可以有几种样式的输出,如p,table,ul等,找一个合适的。

-- 
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月05日 星期一 16:28

??? ?? clfff.peter在gmail.com
星期一 十一月 5 16:28:10 HKT 2007

newformsÊÇÒ»¸ömoduleÂð£¿

ÔÚ07-11-2£¬limodou <limodou在gmail.com> дµÀ£º
>
> On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > ÎÒʹÓÃnewforms¸ù¾ÝmodelsÉú³ÉµÄ±íµ¥Ö±½ÓÊä³öµ½Ò³ÃæÉÏ
> > ¿ÉÊǸ÷¸ö×ֶμ䲻»»ÐУ¬Ôõô°ì°¡
>
> newforms¿ÉÒÔÓм¸ÖÖÑùʽµÄÊä³ö£¬Èçp,table,ulµÈ£¬ÕÒÒ»¸öºÏÊʵġ£
>
> --
> 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/20071105/b09c117c/attachment.html 

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

2007年11月05日 星期一 16:39

朽木klutz chumpklutz在gmail.com
星期一 十一月 5 16:39:43 HKT 2007

ÎÊÌâÒѽâ¾ö

ÏÖÔÚÓиöÐÂÎÊÌâ¾ÍÊÇÈçºÎÈÃnewformÊä³ö¿Ø¼þΪpassword¶ø²»ÊÇtext


ÔÚ07-11-5£¬??? ?? <clfff.peter在gmail.com> дµÀ£º
>
> newformsÊÇÒ»¸ömoduleÂð£¿
>
> ÔÚ07-11-2£¬limodou <limodou在gmail.com> дµÀ£º
> >
> > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > > ÎÒʹÓÃnewforms¸ù¾ÝmodelsÉú³ÉµÄ±íµ¥Ö±½ÓÊä³öµ½Ò³ÃæÉÏ
> > > ¿ÉÊǸ÷¸ö×ֶμ䲻»»ÐУ¬Ôõô°ì°¡
> >
> > newforms¿ÉÒÔÓм¸ÖÖÑùʽµÄÊä³ö£¬Èçp,table,ulµÈ£¬ÕÒÒ»¸öºÏÊʵġ£
> >
> > --
> > 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
>
>
>
> _______________________________________________
> 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/20071105/e58f79fe/attachment.html 

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

2007年11月05日 星期一 16:47

limodou limodou在gmail.com
星期一 十一月 5 16:47:42 HKT 2007

On 11/5/07, 朽木klutz <chumpklutz在gmail.com> wrote:
> 问题已解决
>
> 现在有个新问题就是如何让newform输出控件为password而不是text
>
newform的字符可以传入一个widget的参数,从而进行修改。

-- 
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月05日 星期一 17:05

朽木klutz chumpklutz在gmail.com
星期一 十一月 5 17:05:16 HKT 2007

ÎÒʹÓõÄÊÇforms_for_models²»ÊÇ×Ô¶¨ÒåµÄformÔõüNÞk

ÔÚ07-11-5£¬limodou <limodou在gmail.com> дµÀ£º
>
> On 11/5/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > ÎÊÌâÒѽâ¾ö
> >
> > ÏÖÔÚÓиöÐÂÎÊÌâ¾ÍÊÇÈçºÎÈÃnewformÊä³ö¿Ø¼þΪpassword¶ø²»ÊÇtext
> >
> newformµÄ×Ö·û¿ÉÒÔ´«ÈëÒ»¸öwidgetµÄ²ÎÊý£¬´Ó¶ø½øÐÐÐ޸ġ£
>
> --
> 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/20071105/e58fe656/attachment.htm 

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

2007年11月05日 星期一 17:15

limodou limodou在gmail.com
星期一 十一月 5 17:15:06 HKT 2007

On 11/5/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> ÎÒʹÓõÄÊÇforms_for_models²»ÊÇ×Ô¶¨ÒåµÄformÔõüNÞk
>
ÎÒÒ²¸ã²»Çå³þÁË£¬ÎÒÁ¬newforms¶¼»¹Ã»ÓÃÄØ¡£ÊÖдhtml´úÂë¡£

-- 
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月05日 星期一 17:30

朽木klutz chumpklutz在gmail.com
星期一 十一月 5 17:30:19 HKT 2007

OK

µÈÎÒµÄÕ¾µã×öºÃÁË£¬¾Í»áÓÖ¶àÒ»¸öpowerd by django


2007/11/5, limodou <limodou在gmail.com>:
>
> On 11/5/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > ÎÒʹÓõÄÊÇforms_for_models²»ÊÇ×Ô¶¨ÒåµÄformÔõüNÞk
> >
> ÎÒÒ²¸ã²»Çå³þÁË£¬ÎÒÁ¬newforms¶¼»¹Ã»ÓÃÄØ¡£ÊÖдhtml´úÂë¡£
>
> --
> 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/20071105/079ecf80/attachment.html 

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

2007年11月06日 星期二 09:56

赵飞 mydjango在gmail.com
星期二 十一月 6 09:56:57 HKT 2007

¿´¿´ Õâ¸ö
http://code.pui.ch/2007/01/07/using-djangos-newforms/

ÔÚ07-11-5£¬??? ?? <clfff.peter在gmail.com> дµÀ£º
>
> newformsÊÇÒ»¸ömoduleÂð£¿
>
> ÔÚ07-11-2£¬limodou <limodou在gmail.com> дµÀ£º
> >
> > On 11/2/07, Ðàľklutz <chumpklutz在gmail.com> wrote:
> > > ÎÒʹÓÃnewforms¸ù¾ÝmodelsÉú³ÉµÄ±íµ¥Ö±½ÓÊä³öµ½Ò³ÃæÉÏ
> > > ¿ÉÊǸ÷¸ö×ֶμ䲻»»ÐУ¬Ôõô°ì°¡
> >
> > newforms¿ÉÒÔÓм¸ÖÖÑùʽµÄÊä³ö£¬Èçp,table,ulµÈ£¬ÕÒÒ»¸öºÏÊʵġ£
> >
> > --
> > 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
>
>
>
> _______________________________________________
> 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/20071106/0d46fac8/attachment.html 

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

2007年11月06日 星期二 11:47

??? ?? clfff.peter在gmail.com
星期二 十一月 6 11:47:30 HKT 2007

thanks ^__^
your name is the same as a friend of mine.


ÔÚ07-11-6£¬ÕÔ·É <mydjango在gmail.com> дµÀ£º
>
> ¿´¿´ Õâ¸ö
> http://code.pui.ch/2007/01/07/using-djangos-newforms/
>
> ÔÚ07-11-5£¬??? ?? < clfff.peter在gmail.com> дµÀ£º
> >
> > newformsÊÇÒ»¸ömoduleÂð£¿
> >
> > ÔÚ07-11-2£¬limodou <limodou在gmail.com> дµÀ£º
> > >
> > > On 11/2/07, Ðàľklutz < chumpklutz在gmail.com> wrote:
> > > > ÎÒʹÓÃnewforms¸ù¾ÝmodelsÉú³ÉµÄ±íµ¥Ö±½ÓÊä³öµ½Ò³ÃæÉÏ
> > > > ¿ÉÊǸ÷¸ö×ֶμ䲻»»ÐУ¬Ôõô°ì°¡
> > >
> > > newforms¿ÉÒÔÓм¸ÖÖÑùʽµÄÊä³ö£¬Èçp,table,ulµÈ£¬ÕÒÒ»¸öºÏÊʵġ£
> > >
> > > --
> > > 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
> >
> >
> >
> > _______________________________________________
> > 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/20071106/650d64b8/attachment.htm 

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

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

    你的回复:

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

    Zeuux © 2025

    京ICP备05028076号