diff --git a/index.md b/docs/index.md similarity index 100% rename from index.md rename to docs/index.md diff --git a/todo/views/del_list.py b/todo/views/del_list.py index 5ee1cd0..c4e044f 100644 --- a/todo/views/del_list.py +++ b/todo/views/del_list.py @@ -1,8 +1,8 @@ from django.contrib import messages from django.contrib.auth.decorators import login_required, user_passes_test -from django.http import HttpResponse -from django.shortcuts import render, redirect, get_object_or_404 from django.core.exceptions import PermissionDenied +from django.http import HttpResponse +from django.shortcuts import get_object_or_404, redirect, render from todo.models import Task, TaskList from todo.utils import staff_check