Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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 freakboy3742 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/views/generic/dates.py
2  django/views/generic/dates.py
View
@@ -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):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.