-
Notifications
You must be signed in to change notification settings - Fork 889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proutes does not show static routes #1180
Comments
There is a difference between static views and a route tagged as static. See the documentation about |
in my project is put as config.add_static_view(), he can return an static url... your report bug is about route tagged as view? |
I know it's confusing but in pyramid's jargon a "static route" is something that is not used for matching incoming requests, and exist only to help generate urls by name. Static views on the other hand are used to serve up static content from the filesystem. |
Since static routes aren't matched against when a request comes in, then I think it's reasonable not to display them in proutes. Also external routes aren't shown by proutes, which also seems reasonable to me. |
With #1488 instead of showing:
It will now show:
which I think is much better and probably fixes this bug |
@mmerickel disregard my last comment, just not realized you were talking |
pyramid/pyramid/urldispatch.py Lines 63 to 64 in b4245a3
The offender that makes it not show up |
@mmerickel Ok, as of 582c2ed
|
No description provided.
The text was updated successfully, but these errors were encountered: