Explorar el Código

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

Roland Haroutiounian hace 8 años
padre
commit
9d591399e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      lodel.py

+ 1
- 1
lodel.py Ver fichero

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

Loading…
Cancelar
Guardar