Skip to content

Commit b0356bf

Browse files
committed
update task models
1 parent edbe075 commit b0356bf

File tree

3 files changed

+0
-4
lines changed

3 files changed

+0
-4
lines changed

db.sqlite3

0 Bytes
Binary file not shown.

task_manager/tasks/views.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@
88
from django.contrib.messages.views import SuccessMessageMixin
99
from django.contrib.auth.mixins import LoginRequiredMixin
1010
from django.utils.translation import gettext_lazy as _
11-
from django.contrib import messages
12-
from django.db.models import ProtectedError
13-
from django.shortcuts import redirect
1411

1512

1613
from django_filters.views import FilterView

task_manager/templates/tasks/delete.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ <h1 class="my-4">{% translate "Task deletion" %}</h1>
1212
<div class="card-body">
1313
<form method="post">{% csrf_token %}
1414
<p>{% translate "Are you sure want to delete task?" %} "{{ object.name }}"?</p>
15-
{% bootstrap_form form %}
1615
<button type="submit" class="btn btn-danger">
1716
{% translate "Yes, exactly" %}
1817
</button>

0 commit comments

Comments
 (0)