@must_be_valid_project
@must_be_contributor_or_public
def node_register_page(auth, node, **kwargs):
 if node.is_registration:
  return serialize_node(node, auth)
 else:
  status.push_status_message("You have been redirected to the project's registrations page. From here you can initiate a new Draft Registration to complete the registration process", trust=False)
  return redirect(node.web_url_for('node_registrations', view='draft'))

@ must_be_valid_project @ must_be_contributor_or_public def node_register_page ( auth , node , ** kwargs ) : if node . is_registration : return serialize_node ( node , auth ) else : status . push_status_message ( "You have been redirected to the project's registrations page. From here you can initiate a new Draft Registration to complete the registration process" , trust = False ) return redirect ( node . web_url_for ( 'node_registrations' , view = 'draft' ) )
display the registration metadata for a registration .