my-cloud-devops-consulting 1.1.202506142319__py3-none-any.whl → 1.1.202506150009__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- app.py +9 -1
- {my_cloud_devops_consulting-1.1.202506142319.dist-info → my_cloud_devops_consulting-1.1.202506150009.dist-info}/METADATA +1 -1
- my_cloud_devops_consulting-1.1.202506150009.dist-info/RECORD +5 -0
- my_cloud_devops_consulting-1.1.202506142319.dist-info/RECORD +0 -5
- {my_cloud_devops_consulting-1.1.202506142319.dist-info → my_cloud_devops_consulting-1.1.202506150009.dist-info}/WHEEL +0 -0
- {my_cloud_devops_consulting-1.1.202506142319.dist-info → my_cloud_devops_consulting-1.1.202506150009.dist-info}/top_level.txt +0 -0
app.py
CHANGED
@@ -142,6 +142,7 @@ def logout():
|
|
142
142
|
logout_user()
|
143
143
|
flash("Logged out successfully!", "info")
|
144
144
|
return redirect(url_for("login"))
|
145
|
+
|
145
146
|
# My added route
|
146
147
|
@app.route('/about')
|
147
148
|
def about():
|
@@ -150,8 +151,15 @@ def about():
|
|
150
151
|
|
151
152
|
@app.route('/test')
|
152
153
|
def test():
|
153
|
-
return "Test route is working!" # This shows in the browser
|
154
|
+
# return "Test route is working!" # This shows in the browser
|
155
|
+
return redirect(url_for('about', custom_message="Hello from /test!"))
|
156
|
+
|
154
157
|
|
158
|
+
@app.route('/new')
|
159
|
+
def new():
|
160
|
+
fisrt_name = "betrand".title()
|
161
|
+
last_name = "mutagha".upper()
|
162
|
+
return f"{fisrt_name} {last_name}"
|
155
163
|
|
156
164
|
|
157
165
|
if __name__ == '__main__':
|
@@ -0,0 +1,5 @@
|
|
1
|
+
app.py,sha256=p9Xr1QdVOXUAsDaSHPuRfMdeyog4nSqzLKx-U1BKzms,5917
|
2
|
+
my_cloud_devops_consulting-1.1.202506150009.dist-info/METADATA,sha256=3a4LOcoTYhVCk2H0X-TEus8BhSvi-a-ycAGAmNRR3Es,3256
|
3
|
+
my_cloud_devops_consulting-1.1.202506150009.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
+
my_cloud_devops_consulting-1.1.202506150009.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
+
my_cloud_devops_consulting-1.1.202506150009.dist-info/RECORD,,
|
@@ -1,5 +0,0 @@
|
|
1
|
-
app.py,sha256=ZMENduk0QdBQ_nh1dwIU4tE_ZZq-6s2qZaBzKxCiwvs,5700
|
2
|
-
my_cloud_devops_consulting-1.1.202506142319.dist-info/METADATA,sha256=5UPehCbFSooA4bj_k5JFaBXaT7q0NfIM6daKlSWadg8,3256
|
3
|
-
my_cloud_devops_consulting-1.1.202506142319.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
4
|
-
my_cloud_devops_consulting-1.1.202506142319.dist-info/top_level.txt,sha256=io9g7LCbfmTG1SFKgEOGXmCFB9uMP2H5lerm0HiHWQE,4
|
5
|
-
my_cloud_devops_consulting-1.1.202506142319.dist-info/RECORD,,
|
File without changes
|