diff --git a/taskapp/templates/taskapp/tasklist_all.html b/taskapp/templates/taskapp/tasklist_all.html index 652efcc..6878c2a 100644 --- a/taskapp/templates/taskapp/tasklist_all.html +++ b/taskapp/templates/taskapp/tasklist_all.html @@ -58,8 +58,12 @@ {{ task.get_mode_display }} {{ task.descr }} - {{ task.author.username }} + {% if task.author %} + {{ task.author.username }} + {% else %} + {% trans 'Not assigned' %} + {% endif %} + {{ task.get_state_display }} {{ task.time_of_create|date:'d N Y H:i:s' }}