id,summary,reporter,owner,description,type,status,component,version,severity,resolution,keywords,cc,stage,has_patch,needs_docs,needs_tests,needs_better_patch,easy,ui_ux 20565,Generic view descriptions should give template examples,david.reitter@…,Baptiste Darthenay,"When reading the docs for generic views, I wonder what the templates should like like. It does not seem like standard templates are provided (why not?), but as a minimum, the documentation should give an example of a template for each view class. The template variables are idiosyncratic w.r.t. the view class, e.g., the ListView defines 'object_list' as a variable. So why not give this template example: {{{ {% block content %}

Exams

{% for o in object_list %} {% endfor %}
{{ o }}edit  del
{% endblock %} }}} Right now, I am looking for how to correctly implement the delete confirmation template. https://docs.djangoproject.com/en/dev/ref/class-based-views/generic-editing/#django.views.generic.edit.DeleteView",New feature,closed,Documentation,dev,Normal,fixed,,bmispelon@… Baptiste Darthenay,Accepted,1,0,0,0,1,0