$paster restcontroller thing things
Then in my routing.py, I have:
map = Mapper(…
map.minimization=False
map.resource('thing', 'things')
Then I have a controllers/things.py, which has this:
…
class ThingsController(self, format='html')
…
and so on, all just generated by paster.
I fire this up, go to /things, and I get a 404 error.
Okay, so:
- can anyone tell me from here what I've done wrong?
- (more importantly) how do I get more information than just "404"? I've got all my logging set to debug in my config file. If this was Rails, I'd have a detailed log being produced that tells me what controller it was going to, what arguments it received, and so on. All my log in TG is giving me is the SQL being generated. What am I missing?
--
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to turbo...@googlegroups.com.
To unsubscribe from this group, send email to turbogears+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/turbogears?hl=en.