hi im very new in django so i try to use generic views like say in the doc and 
dont work for me

this is my code

class DownloadDetailView( DetailView ):
        model = Download.objects.all()
        context_object_name = "download_list"
        template_name = "download.html"

        def get_context_data( self, **kwargs ):
                # Call the base implementation first to get a context
                context = super( DownloadDetailView, self ).get_context_data( 
**kwargs )
                # Add in a QuerySet of all the books
                context['category_list'] = Category.objects.all()
                return context

in the template the data for download_list is available and ok but the other 
list category_list even exist, what is the problem here, its just like the 
example in the doc.


----------------------------------------------------------------------------------------
El ayer es un recuerdo, el maƱana es un misterio y el ahora es un regalo...por 
eso se llama presente.

Ing. Yasmany Cubela Medina:
Linux user 446757
Ubuntu user 13464

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to