In a book bank made in Django, I want to show only the remaining books instead of all books. This I want to upgrade in the code below????
def view_books_student(request): books = Book.objects.all() return render(request, "view_books_student.html", {'books':books}) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8328314e-2e63-46b8-9bf0-d2b5caf649b6n%40googlegroups.com.