-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 12 Jul 2010, at 09:22, Gisborne wrote:

class ThingsController(self, format='html')

That doesn't look right.

can anyone tell me from here what I've done wrong?

I think you omitted to Read The Fine Manual: http://pylonshq.com/docs/en/1.0

I fire this up, go to /things, and I get a 404 error.

Take a closer look at the class definition code here:
http://pylonshq.com/docs/en/1.0/controllers/#an-atom-style-rest-controller-for-users

If this was Rails, I'd have a detailed log being produced


But this is Pylons, so not only do you have a detailed log, it is also an interactive debugger, allowing you to directly interrogate the app state:

http://pylonshq.com/docs/en/1.0/debugging/

how do I get more information than just "404"?


See above.

What am I missing?


Definitely, the documentation :-)


- --
Cheers,

Graham

http://www.linkedin.com/in/ghiggins





-----BEGIN PGP SIGNATURE-----

iEYEARECAAYFAkw7QAIACgkQOsmLt1NhivylbQCggj4EOgkG3kpzChXyGZ7hOKng
CusAn1bGxA7OzZtjsx+hBEVcdQ769cXQiQCVAgUBTDtAAlnrWVZ7aXD1AQJwegP+
NF3SamAGd0e2zTWRtSzSOTOEWr9+dDvHrs9GBqiXE90lauOVb/x8aQQWRQXtTlT3
YssNLc5c7COKnbWqOO6HdDGlSethLgw5SBMX28JX3Yblp0nTX266h383daTohkTS
skc+i9L9DMQd4YM+S3lCnt9snCwJ5Fmk+yXBDDhRJBQ=
=UQ4H
-----END PGP SIGNATURE-----

--
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to