deducing previous credits for a task using the request model. with a few changes, we can ditchax the credits model.
{% extends 'base.html' %}
{% block content %}
{% if error_msg %}
{{ error_msg }}<br />
{% endif %}
<form action="" method="post">
{{form.as_p}}
<input type="submit" value="Submit">
</form>
{% endblock %}