Updated Large app how to (markdown)
parent
6c05a32ca3
commit
cef4523caa
1 changed files with 1 additions and 1 deletions
|
|
@ -220,7 +220,7 @@ The view is where we'll declare our Blueprint. Using url_prefix will prefix ever
|
||||||
```python
|
```python
|
||||||
from functools import wraps
|
from functools import wraps
|
||||||
|
|
||||||
from flask import g, flash
|
from flask import g, flash, redirect, url_for, request
|
||||||
|
|
||||||
def requires_login(f):
|
def requires_login(f):
|
||||||
@wraps(f)
|
@wraps(f)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue