On 26 Aug 2009, at 21:31, Kees van den Broek wrote:
> > > The Crud controller constructs a JSON data request that is (seemingly) > generated from the lowercase name of the model plus an extra 's'. > So the JSON request becomes categorys.json. > I tried to guide the CrudRestController (as it works with the > RestController) by specifying __url__, but that parameter was ignored > by de CrudRestController. > What 'fixed' it was defining the CrudRestController as: > > categorys = CategoryController() Ah, that makes sense. It's a real shame that all this 'magic' isn't documented properly somewhere. It would save people banging their heads to figure it out. best, Jamie --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

