  of *all* publishers in that template.
  
  But there is: all generic views take an extra optional parameter,
  ``extra_context``. This is a dictionary of extra objects that will be added to
  the template's context. So, to provide the list of all publishers on the detail
  detail view, we'd use an info dict like this:
  
  .. parsed-literal::
  
      from mysite.books.models import Publisher, **Book**
 
</s> remove the generic view. For example, think of showing a list of all the other
publishers on each publisher detail page. The ``object_detail`` generic view
provides the publisher to the context, but it seems there's no way to get a list
of *all* publishers in that template.
 </s> add the generic view. For example, think of showing a list of all the books on each
publisher detail page. The ``object_detail`` generic view provides the
publisher to the context, but it seems there's no way to get additional
information in that template. </s> remove dealing with books here. A better name for that variable would be
 </s> add dealing with publishers here. A better name for that variable would be </s> remove To build a list page of all books, we'd use a URLconf along these lines::
 </s> add To build a list page of all publishers, we'd use a URLconf along these lines:: </s> remove ``object_list`` that contains all the book objects. A very simple template
 </s> add ``object_list`` that contains all the publisher objects. A very simple template
the template's context. So, to provide the list of all books on the detail
  of *all* publishers in that template.
  
  But there is: all generic views take an extra optional parameter,
  ``extra_context``. This is a dictionary of extra objects that will be added to
the template's context. So, to provide the list of all books on the detail
  detail view, we'd use an info dict like this:
  
  .. parsed-literal::
  
      from mysite.books.models import Publisher, **Book**
keep keep keep keep replace keep keep keep keep keep
 Fixed #11554: Several errors in Generic Views Documentation. 

Thanks Ramiro. 
Refs #11477 - that ticket should have been marked a duplicate of #11554



git-svn-id: http://code.djangoproject.com/svn/django/trunk@11499 bcc190cf-cafb-0310-a4f2-bffc1f526a37 
docs/topics/generic-views.txt