#NEWLINE# @ views . route ( '/<int:year>/<int(fixed_digits=2):month>/<slug>/files/<filename>' ) #NEWLINE# def post_attachment( year , month , slug , filename ) : #NEWLINE# #INDENT# post = Post . load_by_path ( '{}/{:02d}/{}' . format ( year , month , slug ) ) #NEWLINE# return render_attachment ( post , filename )