diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-28 02:58:46 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2010-10-28 02:58:46 +0000 |
| commit | 623592e0acd87a5d2be500f83bb483518057c377 (patch) | |
| tree | 10dd8e71a0949c22e0aa028bae50e55c0915d423 | |
| parent | baa1e90d4cf029b42e028ee23d999c99751a24e7 (diff) | |
Fixed #14554 -- Raise the actual NotImplementedError exception, not the NotImplemented comparison value. Thanks to mattmcc for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
| -rw-r--r-- | django/views/generic/dates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/generic/dates.py b/django/views/generic/dates.py index 74293f27a7..cbc7bfc065 100644 --- a/django/views/generic/dates.py +++ b/django/views/generic/dates.py @@ -178,7 +178,7 @@ class BaseDateListView(MultipleObjectMixin, DateMixin, View): """ Obtain the list of dates and itesm """ - raise NotImplemented('A DateView must provide an implementaiton of get_dated_items()') + raise NotImplementedError('A DateView must provide an implementation of get_dated_items()') def get_dated_queryset(self, **lookup): """ |
