Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Start to use six for basestring. | Elrond | 2013-04-18 | 1 | -1/+2 |
| | | | | | | six allows us to smoothly get more forward compatible with py3. The idea is to change things over to use six, when/if we feel a need for it. | ||||
* | Rewrite routing using new MGRoute class | Elrond | 2012-12-23 | 1 | -12/+15 |
| | | | | | | | | | | | MGRoute subclasses Rule(): Rule doesn't have a way to tag extra data, like the controller function, we need. So MGRoute has a new attribute .gmg_controller, which holds this. Rewrite everything to use this new Rule variant and drop all the other stuff that mapped endpoints to controller functions, mostly. | ||||
* | Move things from routing.py to tools/routing.py | Elrond | 2012-12-23 | 1 | -0/+63 |
This stops a cyclic import. Move add_route, mount and endpoint_to_controller into tools/routing.py and change all callers. |