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
1 | alembic>=0.6.4, <1.0 | 1 | alembic>=0.6.4, <1.0 |
2 | beautifulsoup4>=4.3.2, <5.0 | 2 | beautifulsoup4>=4.3.2, <5.0 |
3 | blinker>=1.3, <2.0 | 3 | blinker>=1.3, <2.0 |
4 | -Flask-Babel>=0.9, <1.0 | 4 | +Flask-Babel>=0.9, <0.10 |
5 | Flask-Login | 5 | Flask-Login |
6 | Flask-Mail>=0.9.0, <1.0 | 6 | Flask-Mail>=0.9.0, <1.0 |
7 | misaka>=1.0.0, <2.0.0 | 7 | misaka>=1.0.0, <2.0.0 |
pybossa/view/account.py
@@ -151,7 +151,8 @@ def signout(): | @@ -151,7 +151,8 @@ def signout(): | ||
151 | """ | 151 | """ |
152 | logout_user() | 152 | logout_user() |
153 | flash(gettext('You are now signed out'), 'success') | 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 | def get_email_confirmation_url(account): | 158 | def get_email_confirmation_url(account): |
setup.py
@@ -4,7 +4,7 @@ requirements = [ | @@ -4,7 +4,7 @@ requirements = [ | ||
4 | "alembic>=0.6.4, <1.0", | 4 | "alembic>=0.6.4, <1.0", |
5 | "beautifulsoup4>=4.3.2, <5.0", | 5 | "beautifulsoup4>=4.3.2, <5.0", |
6 | "blinker>=1.3, <2.0", | 6 | "blinker>=1.3, <2.0", |
7 | - "Flask-Babel>=0.9, <1.0", | 7 | + "Flask-Babel>=0.9, <0.10", |
8 | "Flask-Login", # was pinned to Flask-Login==0.2.3 in the past. GitHub version 3.0+ is used now. | 8 | "Flask-Login", # was pinned to Flask-Login==0.2.3 in the past. GitHub version 3.0+ is used now. |
9 | "Flask-Mail>=0.9.0, <1.0", | 9 | "Flask-Mail>=0.9.0, <1.0", |
10 | "misaka>=1.0.0, <2.0.0", | 10 | "misaka>=1.0.0, <2.0.0", |