Pylons / pyramid

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

issue a warning if a static view is referencing a package that doesn't exist #3752

Closed mmerickel closed 9 months ago

mmerickel commented 9 months ago

in order to prepare for the static_view being switched to using the AssetResolver API, I would like to deprecate the ability to use non-existent packages with a static view. This would only make sense for asset overrides where a user defines some random non-existent package as an alias target. They could just as easily define a location inside a real package.