Advertisement
Guest User

Untitled

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