Johnny-Zou / ECE444-F2020-Lab2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jia Yu (Johnny) Zou
This repo is a clone of: https://github.com/miguelgrinberg/flasky

Activity 1:
Screenshot Activity 1

Activity 2:
Screenshot Activity 2

Activity 3:
Briefly summarize what are the Flask context globals.
Flask context globals allow different variables to be globally accessible to a thread without interfering with other threads. The two contexts in Flask are the application context and the request context which allows the pair of variables current_app, g and request, session to be available respectively. Before handing a request, Flask makes these variables available to the thread and after the request is handled, these context variables are removed.

About


Languages

Language:Python 100.0%