GAE里的routing

很明显,app.yaml里可以设置routing, webapp2里也可以设置routing。 这两者如何搭配使用呢?这里有一个小的原则:

 

we’ll have the default all-encompassing match (/.*) route to main.app – which will be our main.py file.That is where we’ll do the bulk of the routing, using webapp2.

We’ll still need to use app.yaml for things like static directories


Print Friendly

Leave a Comment


NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>