Browse Source

Changed the sample display of request parameters in the index routing method

Roland Haroutiounian 8 years ago
parent
commit
9d591399e4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      lodel.py

+ 1
- 1
lodel.py View File

13
 def index(path):
13
 def index(path):
14
     url_elements = path.split('/')
14
     url_elements = path.split('/')
15
     url_arguments = request.args
15
     url_arguments = request.args
16
-    return "%s" % url_elements
16
+    return "%s <br/> %s" % (url_elements, url_arguments)
17
 
17
 
18
 
18
 
19
 if __name__ == '__main__':
19
 if __name__ == '__main__':

Loading…
Cancel
Save