This commit is contained in:
vanzhiganov 2018-01-13 15:42:38 +03:00
parent e8d1b13245
commit acc2547aa0
4 changed files with 3835 additions and 670 deletions

View file

@ -39,6 +39,4 @@ def index():
def statistics():
if not g.user:
return redirect(url_for('pages_home.index'))
return render_template(
'pages/account/statistics.html')
return render_template('pages/account/statistics.html')

View file

@ -15,6 +15,7 @@ pages_achievements = Blueprint(
'achievements', __name__, url_prefix='/achievements',
template_folder='templates')
def __get_achievements():
log.debug(session)
user_id = parse_wargaming_openid_url(session['openid'])[0]

View file

@ -42,6 +42,7 @@ def index():
account_balance=ub.balance
)
@pages_rush.route('/apply.html')
def apply():
if not g.user:

File diff suppressed because one or more lines are too long