On 11/30/05, Michael Schneider <[EMAIL PROTECTED]> wrote:
>
> Mike
>
> Try explictly updating rules dispatch, then doing the TurboGear
>
> easy_install -f http://peak.telecommunity.com/snapshots/ RuleDispatch
>
> easy_install -f
> http://www.opensource4you.com/nightly_tarballs.shtml TurboGears
OK, that works. I had to make one change in the wiki demo due to this error:
2005/11/30 14:30:52 HTTP INFO 127.0.0.1 - GET /pagelist?tg_format=json
...
File
"/usr/local/stow/python-2.4.2/lib/python2.4/site-packages/TurboGears-0.9a0dev_r252-py2.4.egg/turbogears/controllers.py",
line 166, in newfunc
raise BadFormatError("JSON output is not allowed for that method")
BadFormatError: JSON output is not allowed for that method
Changed:
@turbogears.expose(html="wiki20.templates.pagelist")
to:
@turbogears.expose(html="wiki20.templates.pagelist", allow_json=True)
--
Mike Orr <[EMAIL PROTECTED]>
([EMAIL PROTECTED] address is semi-reliable)