@app.route('/account/<subscription_id>')
@auth.require_login
def subscription_view(subscription_id):
 creds = _get_credentials()
 model = models.get_subscription_details(subscription_id, creds)
 return render_template('subscription.html', title=subscription_id, year=datetime.now().year, subscription_id=subscription_id, model=model)

@ app . route ( '/account/<subscription_id>' ) @ auth . require_login def subscription_view ( subscription_id ) : creds = _get_credentials ( ) model = models . get_subscription_details ( subscription_id , creds ) return render_template ( 'subscription.html' , title = subscription_id , year = datetime . now ( ) . year , subscription_id = subscription_id , model = model )
subscription view .