@bp.route('/in/<city>')
def city(city):
 page = force_int(request.args.get('page', 1), 0)
 if (not page):
  return abort(404)
 paginator = Account.query.filter_by(city=city).paginate(page)
 return render_template('user/city.html', paginator=paginator, city=city)

@ bp . route ( '/in/<city>' ) def city ( city ) : page = force_int ( request . args . get ( 'page' , 1 ) , 0 ) if ( not page ) : return abort ( 404 ) paginator = Account . query . filter_by ( city = city ) . paginate ( page ) return render_template ( 'user/city.html' , paginator = paginator , city = city )
users in a city .