[Python-modules-commits] [python-social-auth] 27/61: Update main.py

Wolfgang Borgert debacle at moszumanska.debian.org
Sat Dec 24 15:14:04 UTC 2016


This is an automated email from the git hooks/post-receive script.

debacle pushed a commit to tag v0.2.13
in repository python-social-auth.

commit e738e327be649bd902f0e39049398a41f2c58da8
Author: James Little <jim at jameslittle.me.uk>
Date:   Sat Jul 25 13:13:07 2015 +0100

    Update main.py
    
    fix use of required decorator; doesn't work if wrapping a func already wrapped with app.route
---
 examples/flask_me_example/routes/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/flask_me_example/routes/main.py b/examples/flask_me_example/routes/main.py
index 2a2ed4e..127986e 100644
--- a/examples/flask_me_example/routes/main.py
+++ b/examples/flask_me_example/routes/main.py
@@ -9,8 +9,8 @@ def main():
     return render_template('home.html')
 
 
- at login_required
 @app.route('/done/')
+ at login_required
 def done():
     return render_template('done.html')
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-social-auth.git



More information about the Python-modules-commits mailing list