Commit Graph

8 Commits (6c034b88d3efa8734cf5af63d831e1691f3a0630)

Author SHA1 Message Date
Dustin C. Hatch 6c034b88d3 py3k: Fix imports
--HG--
branch : py3k
2012-11-03 11:07:30 -05:00
Dustin C. Hatch 0ab44ed7ea router: Correctly generate application-relative URLs 2011-06-15 19:12:00 -05:00
Dustin C. Hatch 92ef80fd61 Copy more attributes from controller callables to partial wrappers 2011-04-15 21:04:24 -05:00
Dustin C. Hatch 92ba7c9387 Added special handling for mapped paths with trailing slashes 2011-04-10 19:19:57 -05:00
Dustin C. Hatch b11438b69c Alter URL generator to return URLs without host info by default 2011-04-07 23:25:38 -05:00
Dustin C. Hatch 0fba1c95b9 Added licensing information and boilerplate messages 2011-04-05 23:47:44 -05:00
Dustin C. Hatch ab4ca55620 Don't copy attributes that don't exist to partial instances
Classes don't have an `__name__` attribute, so when wrapping them in a `functools.partial` instance, don't try to copy it. Same goes for `__doc__`, but most objects should have that.
2011-03-27 14:52:17 -05:00
Dustin C. Hatch 6cf47a0339 Added a traversal dispatch method and cleaned up the router
* Created a dispatcher protocol for classes to implement for path resolution
* Implemented a traversal dispatcher
* Updated the router to implement the dispatcher protocol
* Added unit tests for both dispatchers
* Replaced the Controller class with an Application class
2011-03-26 23:35:31 -05:00