diff --git a/todoApp/db.sqlite3 b/todoApp/db.sqlite3 index 53d38687..6af889a9 100644 Binary files a/todoApp/db.sqlite3 and b/todoApp/db.sqlite3 differ diff --git a/todoApp/todos/templates/todos/index.html b/todoApp/todos/templates/todos/index.html index 2142cfef..8f710b97 100644 --- a/todoApp/todos/templates/todos/index.html +++ b/todoApp/todos/templates/todos/index.html @@ -6,23 +6,22 @@ {% block content %} - {% if todo_list %} -
No todos as of now
- {% endif %} + {% endfor %} +No todos as of now
+{% endif %} {% endblock %} diff --git a/todoApp/todos/urls.py b/todoApp/todos/urls.py index 4db747d8..3e2c69a1 100644 --- a/todoApp/todos/urls.py +++ b/todoApp/todos/urls.py @@ -5,5 +5,6 @@ urlpatterns = [ path('', views.IndexView.as_view(), name='index'), path('