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
This commit is contained in:
parent
baa1e90d4c
commit
623592e0ac
|
@ -178,7 +178,7 @@ class BaseDateListView(MultipleObjectMixin, DateMixin, View):
|
||||||
"""
|
"""
|
||||||
Obtain the list of dates and itesm
|
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):
|
def get_dated_queryset(self, **lookup):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue