On Jan 16, 2008, at 12:19 PM, Mike Orr wrote:
I've updated the spec for the dict syntax. It actually simplifies some other things.- Having .static as a separate method eliminates the need for '_match=False'.
Yep, the spec doc still shows the _match thing.
- Putting the name in the first arg of .connect conforms to a supported syntax in Routes 1.
Excellent.
- url_for can raise KeyError for an unknown named route, rather than some custom exception.
That definitely makes it easier to troubleshoot as well, plus people can use .keys() to see all their named routes, which will help out when using map.resource and anything else that someone comes up with that dynamically creates routes.
Cheers, Ben
smime.p7s
Description: S/MIME cryptographic signature