Guest User

Untitled

a guest
Jul 29th, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.19 KB | None | 0 0
  1. def book_types_list(request):
  2.     book = Book.objects.all()
  3.     context = {'book': book, 'book_types': Book.B00K_CHOICES}
  4.     return render(request, 'plibrary_core/book_types_list.html', context)
Add Comment
Please, Sign In to add comment