Django url pattern

31 views
Skip to first unread message

Rishi Agrawal

unread,
Feb 3, 2021, 3:19:35 AM2/3/21
to Google App Engine
What is the difference between simple url pattern vs webapp2 route pattern

url_pattern = [(regex,handlers), webapp2.Route(regex,handlers)].

Juan Carlos Gomez

unread,
Feb 8, 2021, 11:24:29 AM2/8/21
to Google App Engine
The webapp2 format for query variables is:

<name:regex>

whereas the django one is:

<type:name> 
Reply all
Reply to author
Forward
0 new messages