Pylons / pyramid

Pyramid - A Python web framework
https://trypyramid.com/
Other
3.97k stars 887 forks source link

proutes should show more information about the matching views #3605

Open mmerickel opened 4 years ago

mmerickel commented 4 years ago

In cases where use_global_views=False (the default), it's known statically which views may be invoked for a specific route. With this in mind, proutes could be extended to show a lot more information about each view attached to a route. For example, a separate row for each view with its predicate values, permission, view callable, etc.

The exact output would need to be iterated upon but I think someone could come up with some significant improves without too much effort.

This would be very very helpful to people debugging issues with their config.

related: #3603