def default_view_method(pid, record, template=None):
record_viewed.send(<EOL>current_app._get_current_object(),<EOL>pid=pid,<EOL>record=record,<EOL>)<EOL>deposit_type = request.values.get('<STR_LIT:type>')<EOL>return render_template(<EOL>template,<EOL>pid=pid,<EOL>record=record,<EOL>jsonschema=current_deposit.jsonschemas[deposit_type],<EOL>schemaform=current_deposit.schemaforms[deposit_type],<EOL>)<EOL>
Default view method.

    Sends ``record_viewed`` signal and renders template.