Skip to content
Snippets Groups Projects
Commit 96d105d6 authored by permcu's avatar permcu
Browse files

Add default value for date_of_birth or None is printed

parent f3a4cf12
No related branches found
Tags 2.0rc2
1 merge request!422Resolve "Add export functionality to course book"
......@@ -35,7 +35,7 @@
<td>{{ person.last_name }}</td>
<td>{{ person.first_name }}</td>
<td>{{ person.get_sex_display }}</td>
<td>{{ person.date_of_birth }}</td>
<td>{{ person.date_of_birth|default_if_none:'' }}</td>
<td>{{ person.absence_count }}</td>
{% for absence_reason in absence_reasons %}
<td>{{ person|get_dict:absence_reason.count_label }}</td>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment