Commit d73595541d08db6d026f595021ed5764e2c4e0d5
1 parent
15618e79
Exists in
master
Ajuste na versão da lib flask-babel.
Showing
3 changed files
with
4 additions
and
3 deletions
Show diff stats
pybossa.egg-info/requires.txt
pybossa/view/account.py
| ... | ... | @@ -151,7 +151,8 @@ def signout(): |
| 151 | 151 | """ |
| 152 | 152 | logout_user() |
| 153 | 153 | flash(gettext('You are now signed out'), 'success') |
| 154 | - return redirect(url_for('home.home')) | |
| 154 | + #return redirect(url_for('home.home')) | |
| 155 | + return redirect('/') | |
| 155 | 156 | |
| 156 | 157 | |
| 157 | 158 | def get_email_confirmation_url(account): | ... | ... |
setup.py
| ... | ... | @@ -4,7 +4,7 @@ requirements = [ |
| 4 | 4 | "alembic>=0.6.4, <1.0", |
| 5 | 5 | "beautifulsoup4>=4.3.2, <5.0", |
| 6 | 6 | "blinker>=1.3, <2.0", |
| 7 | - "Flask-Babel>=0.9, <1.0", | |
| 7 | + "Flask-Babel>=0.9, <0.10", | |
| 8 | 8 | "Flask-Login", # was pinned to Flask-Login==0.2.3 in the past. GitHub version 3.0+ is used now. |
| 9 | 9 | "Flask-Mail>=0.9.0, <1.0", |
| 10 | 10 | "misaka>=1.0.0, <2.0.0", | ... | ... |