fixed assign_task method to display a not_allowed message if task status not in OP WR.
{% extends 'base.html' %}
{% block content %}
You have successfully logged out of PyTasks.
<br><br>
<a href="/">Click here</a> to go back to PyTask Homepage
{% endblock %}