2010-10-18 21:34:47 +08:00
|
|
|
from django.views.generic.base import View, TemplateView, RedirectView
|
|
|
|
from django.views.generic.dates import (ArchiveIndexView, YearArchiveView, MonthArchiveView,
|
|
|
|
WeekArchiveView, DayArchiveView, TodayArchiveView,
|
|
|
|
DateDetailView)
|
|
|
|
from django.views.generic.detail import DetailView
|
|
|
|
from django.views.generic.edit import CreateView, UpdateView, DeleteView
|
|
|
|
from django.views.generic.list import ListView
|
|
|
|
|
|
|
|
|
2008-07-19 03:45:00 +08:00
|
|
|
class GenericViewError(Exception):
|
|
|
|
"""A problem in a generic view."""
|
|
|
|
pass
|