Django 之 Generic view
Django 中的 Generic view 分别有:
Django Generic view
├─"Simple" generic views
│ ├─django.views.generic.simple.direct_to_template
│ └─django.views.generic.simple.redirect_to
├─Date-based generic views
│ ├─django.views.generic.date_based.archive_index
│ ├─django.views.generic.date_based.archive_year
│ ├─django.views.generic.date_based.archive_month
│ ├─django.views.generic.date_based.archive_week
│ ├─django.views.generic.date_based.archive_day
│ ├─django.views.generic.date_based.archive_today
│ └─django.views.generic.date_based.object_detail
├─List/detail generic views
│ ├─django.views.generic.list_detail.object_list
│ └─django.views.generic.list_detail.object_detail
└─Create/update/delete generic views
├─django.views.generic.create_update.create_object
├─django.views.generic.create_update.update_object
└─django.views.generic.create_update.delete_object
├─"Simple" generic views
│ ├─django.views.generic.simple.direct_to_template
│ └─django.views.generic.simple.redirect_to
├─Date-based generic views
│ ├─django.views.generic.date_based.archive_index
│ ├─django.views.generic.date_based.archive_year
│ ├─django.views.generic.date_based.archive_month
│ ├─django.views.generic.date_based.archive_week
│ ├─django.views.generic.date_based.archive_day
│ ├─django.views.generic.date_based.archive_today
│ └─django.views.generic.date_based.object_detail
├─List/detail generic views
│ ├─django.views.generic.list_detail.object_list
│ └─django.views.generic.list_detail.object_detail
└─Create/update/delete generic views
├─django.views.generic.create_update.create_object
├─django.views.generic.create_update.update_object
└─django.views.generic.create_update.delete_object
转载请注明出处:http://www.cnblogs.com/moinmoin/