Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…he 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
  • Loading branch information...
commit 623592e0acd87a5d2be500f83bb483518057c377 1 parent baa1e90
Russell Keith-Magee authored October 28, 2010

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/views/generic/dates.py
2  django/views/generic/dates.py
@@ -178,7 +178,7 @@ def get_dated_items(self):
178 178
         """
179 179
         Obtain the list of dates and itesm
180 180
         """
181  
-        raise NotImplemented('A DateView must provide an implementaiton of get_dated_items()')
  181
+        raise NotImplementedError('A DateView must provide an implementation of get_dated_items()')
182 182
 
183 183
     def get_dated_queryset(self, **lookup):
184 184
         """

0 notes on commit 623592e

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