Is there anyway to use a regex grouping in a static directory url handler in Google App Engine (Python) -


i've tried work in app.yaml file:

- url: /([^\\]+)/static   static_dir: /apps/\1/static 

a static_dir must fixed prefix.

however, instead use static_files, utilizes regex groups.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -