@bp.route('/desert')
def desert():
 page = force_int(request.args.get('page', 1), 0)
 if (not page):
  return abort(404)
 paginator = Topic.query.filter_by(reply_count=0).order_by(Topic.id.desc()).paginate(page)
 paginator.items = fill_topics(paginator.items)
 return render_template('topic/topics.html', paginator=paginator, endpoint='topic.desert')

@ bp . route ( '/desert' ) def desert ( ) : page = force_int ( request . args . get ( 'page' , 1 ) , 0 ) if ( not page ) : return abort ( 404 ) paginator = Topic . query . filter_by ( reply_count = 0 ) . order_by ( Topic . id . desc ( ) ) . paginate ( page ) paginator . items = fill_topics ( paginator . items ) return render_template ( 'topic/topics.html' , paginator = paginator , endpoint = 'topic.desert' )
topics without any replies .