-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Routes: use route_prefix_context context manager
Pyramid 1.10 adds config.route_prefix_context(), which can be used like this to organize routes under a prefix a little more easily. In the next release it should also be possible to move the route for the prefix itself inside the context manager with an empty pattern and an inherit_slash=True argument. See Pylons/pyramid#3420
Showing
1 changed file
with
69 additions
and
99 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters