I download the appengine-rest-server (1.0.6) and try to use this module in my aplication but i get some errors. Have anybody a working example with python 2.7.2 ?
Following my code to initalize the module:
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)
I get this error:
File "\src\rest\__init__.py", line 1551, in initialize
request.disp_query_params_ = None
AttributeError: 'NoneType' object has no attribute 'disp_query_params_'
Maybe its my fault ?
modify the following function and it seems to work.