moved templates into templates directory and added user in context .
{% extends "base.html" %}
{% block content %}
Registration for {{event.title}} has been successfully opened.<br />
<a href="/reg/event/view/{{event.key}}">Click here</a> to return to the event page.
{% endblock %}