appengine-rest-server(1.0.6)をダウンロードして、このモジュールをアプリケーションで使用しようとしましたが、エラーが発生します。誰かがPython2.7.2で実用的な例を持っていますか?
モジュールを初期化するための私のコードに従って:
rest.Dispatcher.base_url = '/rest'
rest.Dispatcher.add_models({
"customer": customer.customer,
"place": customer.place})
application = webapp.WSGIApplication([<Some other Routs> ,
('/rest/.*', rest.Dispatcher)], debug=True)
このエラーが発生します:
File "\src\rest\__init__.py", line 1551, in initialize
request.disp_query_params_ = None
AttributeError: 'NoneType' object has no attribute 'disp_query_params_'
多分それは私のせいですか?