Inverse URL mapping with AppEngine

I was wondering if there is a feature like Django django.core.urlresolvers.reversefor the Google App Engine. I searched everywhere, but could not find anything.

Thanks in advance

+3
source share
3 answers

If you use webapp2 , the "lightweight Python web infrastructure compatible with the Google App Engines webapp", you can take advantage of the URI routing function , which includes a function uri_for()that performs reverse routing similar to Django reverse().

webapp2 is essentially a superset of webapp, so replacing it as a replacement is trivial. This is a pretty nice library.

+4

, App Engine - App Engine Patch, Django, URL- . .

+2

Google App Engine webapp.WSGIApplication. , , , get.

+2

Source: https://habr.com/ru/post/1733131/


All Articles