Update README.org
This commit is contained in:
parent
ae7441f4c3
commit
b7f7812295
@ -45,6 +45,7 @@ Create *app.py*
|
|||||||
|
|
||||||
#+BEGIN_SRC python
|
#+BEGIN_SRC python
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
|
from functools import wraps
|
||||||
app = Flask(__name__)
|
app = Flask(__name__)
|
||||||
|
|
||||||
def login_required(f):
|
def login_required(f):
|
||||||
|
Loading…
Reference in New Issue
Block a user