File tree 5 files changed +20
-89
lines changed
5 files changed +20
-89
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ # Procfile.dev - development
2
+
3
+ # Use the Flask development server.
4
+ web: python pincode.py
5
+ -
Original file line number Diff line number Diff line change 6
6
app = Flask (__name__ )
7
7
app .secret_key = 'F12Zr47j\3 yX Rsddsdsdsdsd qdcewvcqwraxw evtsdxs rybvsa WRacs atsvgc'
8
8
9
- @app .route ('/' )
10
- def hello ():
11
- return 'Hello world from Flask!'
12
-
13
9
@app .route ('/pincode' , methods = ['POST' ])
14
10
def check_for_dnd ():
15
11
"""
@@ -21,7 +17,7 @@ def check_for_dnd():
21
17
url = 'http://' + host + endpoint + pincode
22
18
return render_template ('results.html' , result = json .loads (requests .get (url ).content ))
23
19
24
- @app .route ('/entry/ ' )
20
+ @app .route ('/' )
25
21
def entry_page ():
26
22
return render_template ('entry.html' ,
27
23
the_title = 'Welcome to PIN CODE details on the web!' )
Original file line number Diff line number Diff line change 1
- Flask
2
- gunicorn
1
+ Fabric == 1.8.2
2
+ Flask == 0.10.1
3
+ Flask-WTF == 0.9.4
4
+ Jinja2 == 2.7.2
5
+ MarkupSafe == 0.18
6
+ WTForms == 1.0.5
7
+ Werkzeug == 0.9.4
8
+ coverage == 3.7.1
9
+ ecdsa == 0.10
10
+ gunicorn == 19.3.0
11
+ itsdangerous == 0.23
12
+ paramiko == 1.12.2
13
+ pycrypto == 2.6.1
14
+ wsgiref == 0.1.2
You can’t perform that action at this time.
0 commit comments