{% extends "base.html" %} {% block content %}

500 - Server Error

Something went wrong on our end. We're working to fix the issue.

{% if error_message %}

Details: {{ error_message }}

{% endif %}
{% if user.is_authenticated %} {% if user.groups.filter(name='Student').exists %} Return to Dashboard {% elif user.groups.filter(name='Teacher').exists %} Return to Dashboard {% elif user.groups.filter(name='Parent').exists %} Return to Dashboard {% elif user.groups.filter(name='Admission Officer').exists %} Return to Dashboard {% elif user.groups.filter(name='HOD').exists %} Return to Dashboard {% else %} Return to Dashboard {% endif %} {% else %} Return to Login {% endif %}
{% if settings.DEBUG and traceback %}

Debug Information:

{{ traceback }}
{% endif %}
{% endblock %} {% block extra_css %} {% endblock %}