Skip to content
Browse files

Fixed #14554 -- Raise the actual NotImplementedError exception, not t…

…he NotImplemented comparison value. Thanks to mattmcc for the report.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent baa1e90 commit 623592e0acd87a5d2be500f83bb483518057c377 @freakboy3742 freakboy3742 committed Oct 28, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/views/generic/
2 django/views/generic/
@@ -178,7 +178,7 @@ def get_dated_items(self):
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):

0 comments on commit 623592e

Please sign in to comment.
Something went wrong with that request. Please try again.