diff options
Diffstat (limited to 'app/gtd')
-rw-r--r-- | app/gtd/templates/gtd/post_table.html | 2 | ||||
-rw-r--r-- | app/gtd/views.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/gtd/templates/gtd/post_table.html b/app/gtd/templates/gtd/post_table.html index f6803fe..c9eb717 100644 --- a/app/gtd/templates/gtd/post_table.html +++ b/app/gtd/templates/gtd/post_table.html @@ -81,7 +81,7 @@ Date last pub <span class="hide">0</span><img src="/static/admin/img/icon-no.svg" alt="False">{%endif%} </td> <td class="field-days_overdue">{{object.days_overdue}}</td> - <td class="field-days_overdue"><a href="{% url 'notes:edit' object.pk %}">edit</a></td></tr> + <td class="field-days_overdue"><a href="{% url 'gtd:wirednote-edit' object.pk %}">edit</a></td></tr> </tr>{% endfor %}{% endif %} </tbody> </table> diff --git a/app/gtd/views.py b/app/gtd/views.py index 33c8bf1..06728f0 100644 --- a/app/gtd/views.py +++ b/app/gtd/views.py @@ -192,7 +192,7 @@ class WiredPostTodoView(ListView): def get_context_data(self, **kwargs): context = super(WiredPostTodoView, self).get_context_data(**kwargs) - context['reviews'] = WiredNote.objects.filter(plan__in=[1,2,3]).exclude(status=4) + context['reviews'] = WiredNote.objects.filter(plan__in=[1,2,3]).exclude(status__in=[4,5]) return context |