Updated Large app how to (markdown)
parent
cef4523caa
commit
2220a1f744
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ This decorator is checking that g.user has a value assigned to it, otherwise it
|
||||||
from app.users.models import User
|
from app.users.models import User
|
||||||
from app.users.decorators import requires_login
|
from app.users.decorators import requires_login
|
||||||
|
|
||||||
mod = Blueprint('user', __name__, url_prefix='/users')
|
mod = Blueprint('users', __name__, url_prefix='/users')
|
||||||
|
|
||||||
@mod.route('/me/')
|
@mod.route('/me/')
|
||||||
@requires_login
|
@requires_login
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue