[python-chinese] django中request.session.get(key,None)

Frog isfrog在gmail.com
星期三 四月 18 16:41:02 HKT 2007


лл£¬Ã÷°×ÁË

2007/4/18, Dreamingk(Ìì³É) <dreamingk在gmail.com>:
>
> Ï൱ÓÚ
> if request.session.get(key):
>     return request.session.get(key)
> else:
>     return None
>
> On 4/18/07, Frog <isfrog在gmail.com> wrote:
> > ÕâÀïµÄget·½·¨µÚ¶þ¸ö²ÎÊýÊÇ´ú±íʲô£¿
> > _______________________________________________
> > 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
> >
>
>
> --
> Dreamingk (tc, Ìì³É)
>     dreamingk(at)gmail.com
>     http://python.cn
> Exoweb (±±¾©ÐùÔ¯»¥¶¯¿Æ¼¼ÓÐÏÞ¹«Ë¾)
> Python, I love this language.
> _______________________________________________
> 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/20070418/9cefd182/attachment.htm 


关于邮件列表 python-chinese 的更多信息