daily pastebin goal
1%
SHARE
TWEET

Untitled

a guest Nov 22nd, 2017 46 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. def detail(request,x_id):
  2.     try:
  3.     album = X.objects.get(pk=x_id)
  4.  
  5.     except X.DoesNotExist:
  6.     raise Http404("X Does NOt Exist")
  7.     return render(request, 'abc/abc.html', {'x':x})
RAW Paste Data
Top