Como usar a visualização de registro do Flask-Security?

Alguém já usouFlask-Security extensão para autenticação? Como obtenho a visualização de registro para funcionar?

http://packages.python.org/Flask-Security/customizing.html

Estou me referindo ao link acima.

 @app.route('/register', methods=['GET'])
 def register():
     return render_template('security/register_user.html')

Eu não quero estender a classe padrão, eu só quero quebrar a exibição de registro padrão no layout do meu site, então eu fiz isso.

{% extends "layout.html" %}
{% block title %}upload{% endblock %}
{% block body %}

{% from "security/_macros.html" import render_field_with_errors, render_field %}
{% include "security/_messages.html" %}
<h1>Register</h1>
<form action="{{ url_for_security('register') }}" method="POST" name="register_user_form">
{{ register_user_form.hidden_tag() }}
{{ render_field_with_errors(register_user_form.email) }}
{{ render_field_with_errors(register_user_form.password) }}
{% if register_user_form.password_confirm %}
   {{ render_field_with_errors(register_user_form.password_confirm) }}
{% endif %}
{{ render_field(register_user_form.submit) }}
</form>
{% include "security/_menu.html" %}

{% endblock %}

E estou recebendo o seguinte erro?

werkzeug.routing.BuildError
BuildError: ('security.register', {}, None)

questionAnswers(2)

yourAnswerToTheQuestion