Skip to content

Commit

Permalink
django-taggit-911 - linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Trafire committed Jul 28, 2024
1 parent 6d62e80 commit f2dcecf
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions sample_taggit/library_management/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
from django.db.models.functions import Lower
from django.shortcuts import render
from django.urls import reverse, reverse_lazy
from django.views.generic import (
CreateView,
DetailView,
ListView,
UpdateView,
)
from django.views.generic import CreateView, DetailView, ListView, UpdateView

from .forms import AuthorForm, BookForm, PhysicalCopyForm
from .models import Author, Book, Magazine, PhysicalCopy
Expand Down Expand Up @@ -71,7 +66,6 @@ def get_success_url(self):
return reverse("book-detail", kwargs={"pk": self.object.pk})



class AuthorListView(ListView):
model = Author
template_name = "library_management/author_list.html"
Expand Down

0 comments on commit f2dcecf

Please sign in to comment.