title: Pass context data from generic.DetailView
body: <p>How can i pass the context data which is coming from a forms.py to my views class which is using generic detailView, i need to pass forms.py to my product detail page.</p>
  
  <p>Here is the code for my view class</p>
  
  <pre><code>class ProductView(generic.DetailView):
  model = Product
  cart_product_form = CartAddProductForm()
  context = {'cart_product_form': cart_product_form}
  template_name = 'shopping/product.html'
  query_pk_and_slug = True
  </code></pre>
  
  <p>Please let me know if this is incorrect</p>