moyan

moyan

V2EX member #4108, joined on 2010-12-19 13:55:10 +08:00
刚才gae有好像不能访问了
V2EX  •  moyan  •  Jan 7, 2011  •  Lastly replied by moyan
3
favicon.ico图片怎么改成自己的?
Project Babel  •  moyan  •  Dec 23, 2010  •  Lastly replied by moyan
2
请教,我的本地测试怎么不能成功
Project Babel  •  moyan  •  Dec 19, 2010  •  Lastly replied by Livid
9
moyan's recent replies
Apr 6, 2011
Replied to a topic by Livid 站长 V2EX 上的站长们
做给学生用的,学校体育
www.tygk.info
Feb 23, 2011
Replied to a topic by apple Project Babel 怎么取消注册的验证
补充:
class SignupHandler(webapp.RequestHandler):
def get(self):里面
chtml =--------后面省略-----
删除
template_values['captchahtml'] = chtml
删除

成功
删除
Jan 7, 2011
Replied to a topic by moyan V2EX 刚才gae有好像不能访问了
是的!
怎么这里可以访问?v2ex怎么能访问?
Dec 23, 2010
Replied to a topic by moyan Project Babel favicon.ico图片怎么改成自己的?
问一个picky问题!!

Traceback (most recent call last):
File "C:\Program Files\Google\google_appengine\google\appengine\ext\webapp\__init__.py", line 515, in __call__
handler.get(*groups)
File "C:\Program Files\Google\google_appengine\hyezbbs\writer.py", line 130, in get
if CheckAuth(self) is False:
File "C:\Program Files\Google\google_appengine\hyezbbs\v2ex\picky\security\__init__.py", line 14, in CheckAuth
if str(auth) != hashlib.sha1(SECRET + ':' + site_domain).hexdigest():
TypeError: cannot concatenate 'str' and 'NoneType' objects
Dec 22, 2010
Replied to a topic by mamimoluo Project Babel 对V2EX做了点改动
收进代码就好了
Dec 22, 2010
Replied to a topic by mamimoluo Project Babel 对V2EX做了点改动
File "C:\Program Files\Google\google_appengine\cdhyez\v2ex\templatetags\filters.py", line 159
value = value.replace('<a href="', '<a target="_blank" href="')
^
请问这是什么问题?
我是这样写的
def urlize(value):
from django.template.defaultfilters import urlize
value = urlize(value)
value = value.replace('<a href="', '<a target="_blank" href="')
return value
register.filter(urlize)
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2378 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 10:51 · PVG 18:51 · LAX 03:51 · JFK 06:51
♥ Do have faith in what you're doing.